GPU_matrix: use Blender's naming conventions

Thanks to @sergey for review
This commit is contained in:
2018-07-15 15:27:15 +02:00
parent b457cae397
commit 57ab7daa2a
64 changed files with 495 additions and 495 deletions

View File

@@ -1308,8 +1308,8 @@ void draw_image_seq(const bContext *C, Scene *scene, ARegion *ar, SpaceSeq *sseq
if (draw_backdrop) {
/* XXX: need to load identity projection too? */
gpuPushMatrix();
gpuLoadIdentity();
GPU_matrix_push();
GPU_matrix_identity_set();
}
glGenTextures(1, (GLuint *)&texid);
@@ -1439,7 +1439,7 @@ void draw_image_seq(const bContext *C, Scene *scene, ARegion *ar, SpaceSeq *sseq
}
if (draw_backdrop) {
gpuPopMatrix();
GPU_matrix_pop();
return;
}