diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-10-20 21:17:54 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-10-20 21:18:34 +0300 |
commit | a92d20a0a467ece2680d8bb7600a37be470fce66 (patch) | |
tree | 14487732840171ef21d992c9cac18e139fd37b6b /source/blender/gpu/GPU_matrix.h | |
parent | 225edf4e667c12651d2c056b0fbf3a7b17080ff7 (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.h | 1 |
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 } |