hedgewars/uStore.pas
changeset 6999 486db9d26e4b
parent 6990 40e5af28d026
child 7013 54db061b5710
equal deleted inserted replaced
6998:f2524a80eea2 6999:486db9d26e4b
   787 
   787 
   788     r.y:= (Step mod numsquares) * squaresize;
   788     r.y:= (Step mod numsquares) * squaresize;
   789     r.w:= squaresize;
   789     r.w:= squaresize;
   790     r.h:= squaresize;
   790     r.h:= squaresize;
   791 
   791 
   792     DrawFromRect( -squaresize div 2, (cScreenHeight - squaresize) shr 1, @r, ProgrTex);
   792     DrawTextureFromRect( -squaresize div 2, (cScreenHeight - squaresize) shr 1, @r, ProgrTex);
   793 
   793 
   794 {$IFDEF SDL13}
   794 {$IFDEF SDL13}
   795     SDL_GL_SwapWindow(SDLwindow);
   795     SDL_GL_SwapWindow(SDLwindow);
   796 {$ELSE}
   796 {$ELSE}
   797     SDL_GL_SwapBuffers();
   797     SDL_GL_SwapBuffers();