diff Mouse.cpp @ 168:ee11772d0ad2

New sky (turn on -new_sky console command) cube textures are stored in /daata/skybox/%name%_xn.tga %name%%_xp.tga %name%_zn.tga etc
author Nomad
date Thu, 14 Feb 2013 13:58:34 +0200
parents 9c0607679772
children 650d96af8855
line wrap: on
line diff
--- a/Mouse.cpp	Tue Feb 12 11:59:49 2013 +0200
+++ b/Mouse.cpp	Thu Feb 14 13:58:34 2013 +0200
@@ -929,7 +929,7 @@
   int v13; // [sp+80h] [bp-4h]@3
 
   Dst.dwSize = 124;
-  result = pRenderer->LockSurface_DDraw4(a2, &Dst, 1u);
+  result = pRenderer->LockSurface_DDraw4(a2, &Dst, DDLOCK_WAIT);
   if ( result )
   {
     v5 = a1->pPalette16;