equal
deleted
inserted
replaced
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(); |