From 6afba95ef62b22c303336adba6d891eeffe66c49 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jul 2011 18:16:49 +0300 Subject: Add basic tiles caching for opengl. --- src/opengl1graphics.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/opengl1graphics.h') diff --git a/src/opengl1graphics.h b/src/opengl1graphics.h index 05ec9f79b..3943a82fb 100644 --- a/src/opengl1graphics.h +++ b/src/opengl1graphics.h @@ -101,6 +101,10 @@ class OpenGL1Graphics : public Graphics void drawImageRect2(GraphicsVertexes* vert, const ImageRect &imgRect); + void calcTile(ImageVertexes *vert, int x, int y); + + void drawTile(ImageVertexes *vert); + void updateScreen(); void _beginDraw(); -- cgit v1.2.3-60-g2f50