From a92d20a0a467ece2680d8bb7600a37be470fce66 Mon Sep 17 00:00:00 2001 From: Mike Erwin Date: Thu, 20 Oct 2016 14:17:54 -0400 Subject: OpenGL: dirty bit for GPU matrix API Have matrices changed since the most recent bind? Part of T49450 --- source/blender/gpu/GPU_matrix.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/GPU_matrix.h') 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 } -- cgit v1.2.3