Henri Verbeet : wined3d: Add some missing GL locking documentation to arb_program_shader.c.

Alexandre Julliard julliard at winehq.org
Wed Jun 24 09:22:56 CDT 2009


Module: wine
Branch: master
Commit: 4caf43ddb767658f66b6528f9ae1ee2d7c6b4eb3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4caf43ddb767658f66b6528f9ae1ee2d7c6b4eb3

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Jun 24 10:54:15 2009 +0200

wined3d: Add some missing GL locking documentation to arb_program_shader.c.

---

 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 7094824..0d4002b 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;




More information about the wine-cvs mailing list