Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2016-10-20 21:17:54 +0300
committerMike Erwin <significant.bit@gmail.com>2016-10-20 21:18:34 +0300
commita92d20a0a467ece2680d8bb7600a37be470fce66 (patch)
tree14487732840171ef21d992c9cac18e139fd37b6b /source/blender/gpu/GPU_matrix.h
parent225edf4e667c12651d2c056b0fbf3a7b17080ff7 (diff)
OpenGL: dirty bit for GPU matrix API
Have matrices changed since the most recent bind? Part of T49450
Diffstat (limited to 'source/blender/gpu/GPU_matrix.h')
-rw-r--r--source/blender/gpu/GPU_matrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_matrix.h b/source/blender/gpu/GPU_matrix.h
index 3c3acc08f58..f3118495239 100644
--- a/source/blender/gpu/GPU_matrix.h
+++ b/source/blender/gpu/GPU_matrix.h
@@ -135,6 +135,7 @@ void gpuMatrixBegin3D_legacy(void);
/* set uniform values for currently bound shader */
void gpuBindMatrices(GLuint program);
+bool gpuMatricesDirty(void); /* since last bind */
#ifdef __cplusplus
}