From c39012688fb4d388de047005c7cfaff8910938e4 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 7 Mar 2011 18:05:37 +0000 Subject: [PATCH] android: enforce fullscreen on Android until we have several layouts. --- src/video.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/video.cpp b/src/video.cpp index 3291b4b6..a4a6a893 100644 --- a/src/video.cpp +++ b/src/video.cpp @@ -130,6 +130,11 @@ void Video::SetFov(float theta) float near = -width - height; float far = width + height; +#if defined ANDROID_NDK + width = 640.0f; + height = 480.0f; +#endif + /* Set the projection matrix */ if (theta < 1e-4f) {