hedgewars/uTextures.pas
branchsdl2transition
changeset 9682 aa2431ed87b2
parent 9655 e154ccca4dad
child 11362 ed5a6478e710
--- a/hedgewars/uTextures.pas	Tue Nov 05 23:33:23 2013 +0100
+++ b/hedgewars/uTextures.pas	Thu Nov 07 21:06:30 2013 +0400
@@ -154,7 +154,7 @@
 glBindTexture(GL_TEXTURE_2D, Surface2Tex^.id);
 
 if SDL_MustLock(surf) then
-    SDLTry(SDL_LockSurface(surf) >= 0, true);
+    SDLTry(SDL_LockSurface(surf) >= 0, 'Lock surface', true);
 
 fromP4:= Surf^.pixels;