From 4caf43ddb767658f66b6528f9ae1ee2d7c6b4eb3 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 24 Jun 2009 10:54:15 +0200 Subject: [PATCH] wined3d: Add some missing GL locking documentation to arb_program_shader.c. --- dlls/wined3d/arb_program_shader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 70948242fa5..0d4002b26db 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -354,6 +354,7 @@ static void shader_arb_load_np2fixup_constants( /* not implemented */ } +/* GL locking is done by the caller. */ static inline void shader_arb_ps_local_constants(IWineD3DDeviceImpl* deviceImpl) { IWineD3DStateBlockImpl* stateBlock = deviceImpl->stateBlock; @@ -417,6 +418,7 @@ static inline void shader_arb_ps_local_constants(IWineD3DDeviceImpl* deviceImpl) checkGLcall("Load ps int consts\n"); } +/* GL locking is done by the caller. */ static inline void shader_arb_vs_local_constants(IWineD3DDeviceImpl* deviceImpl) { IWineD3DStateBlockImpl* stateBlock; -- 2.11.4.GIT