aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/iphone_video.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-20 19:40:54 +0100
committerJohannes Schickel2012-02-20 19:43:51 +0100
commitcf44d49d1977c50a4cc977cbd0196032e86bd31d (patch)
tree1e4a98d0dc4615e67e416082d2ced67e0ea260c7 /backends/platform/iphone/iphone_video.h
parent56e517fdad416a71a7ec685f9b372b8674a4dc99 (diff)
downloadscummvm-rg350-cf44d49d1977c50a4cc977cbd0196032e86bd31d.tar.gz
scummvm-rg350-cf44d49d1977c50a4cc977cbd0196032e86bd31d.tar.bz2
scummvm-rg350-cf44d49d1977c50a4cc977cbd0196032e86bd31d.zip
IPHONE: Precalculate vertex/tex coordinates for game screen/overlay.
Diffstat (limited to 'backends/platform/iphone/iphone_video.h')
-rw-r--r--backends/platform/iphone/iphone_video.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h
index d6ef46977b..02b9c8692d 100644
--- a/backends/platform/iphone/iphone_video.h
+++ b/backends/platform/iphone/iphone_video.h
@@ -53,6 +53,12 @@
GLuint _mouseCursorTexture;
UIDeviceOrientation _orientation;
+
+ GLfloat _gameScreenVertCoords[4 * 2];
+ GLfloat _gameScreenTexCoords[4 * 2];
+
+ GLfloat _overlayVertCoords[4 * 2];
+ GLfloat _overlayTexCoords[4 * 2];
}
- (id)initWithFrame:(struct CGRect)frame;