hedgewars/uTextures.pas
branchqmlfrontend
changeset 11403 b894922d58cc
parent 11362 ed5a6478e710
child 11487 8e221d2a368e
--- a/hedgewars/uTextures.pas	Tue Sep 08 19:20:58 2015 +0300
+++ b/hedgewars/uTextures.pas	Mon Nov 16 22:57:24 2015 +0300
@@ -236,7 +236,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;