X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fopengl%2Fr_panel.pas;h=a8446312d03a6a6d66180ae16bf656de4e14eedc;hb=3af68bc5a306b013ddb2a04c24543b6ec6e288af;hp=e2c706e18bd74aade01faf3e562208fa707cc4c2;hpb=08dbf3067fe43d7e29b1ed748885f092822eb89e;p=d2df-sdl.git diff --git a/src/game/opengl/r_panel.pas b/src/game/opengl/r_panel.pas index e2c706e..a844631 100644 --- a/src/game/opengl/r_panel.pas +++ b/src/game/opengl/r_panel.pas @@ -27,8 +27,8 @@ implementation uses {$INCLUDE ../nogl/noGLuses.inc} SysUtils, Classes, Math, - e_graphics, - g_basic, g_textures + r_graphics, g_options, r_animations, r_textures, + g_base, g_basic ; // TODO: remove WITH operator @@ -46,7 +46,7 @@ implementation Exit; for xx := 0 to Width div TextureWidth - 1 do for yy := 0 to Height div TextureHeight - 1 do - TextureIDs[FCurTexture].AnTex.Draw(X + xx * TextureWidth, Y + yy * TextureHeight, TMirrorType.None); + r_Animation_Draw(TextureIDs[FCurTexture].AnTex, X + xx * TextureWidth, Y + yy * TextureHeight, TMirrorType.None); end else begin