hedgewars/uLandGraphics.pas
branchsdl2transition
changeset 9682 aa2431ed87b2
parent 9460 7d7e4ca70f6b
child 9798 f2b18754742f
--- a/hedgewars/uLandGraphics.pas	Tue Nov 05 23:33:23 2013 +0100
+++ b/hedgewars/uLandGraphics.pas	Thu Nov 07 21:06:30 2013 +0400
@@ -601,7 +601,7 @@
 col:= Frame div numFramesFirstCol;
 
 if SDL_MustLock(Image) then
-    SDLTry(SDL_LockSurface(Image) >= 0, true);
+    SDLTry(SDL_LockSurface(Image) >= 0, 'SDL_LockSurface', true);
 
 bpp:= Image^.format^.BytesPerPixel;
 TryDo(bpp = 4, 'It should be 32 bpp sprite', true);