[PATCH 1/5] wined3d: Add some missing GL locking documentation to arb_program_shader.c.

Henri Verbeet hverbeet at codeweavers.com
Wed Jun 24 03:54:15 CDT 2009


---
 dlls/wined3d/arb_program_shader.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 72e438c..c514480 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;
-- 
1.6.0.6




More information about the wine-patches mailing list