Parcourir la source

android: enforce fullscreen on Android until we have several layouts.

legacy
Sam Hocevar sam il y a 14 ans
Parent
révision
c39012688f
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. +5
    -0
      src/video.cpp

+ 5
- 0
src/video.cpp Voir le fichier

@@ -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)
{


Chargement…
Annuler
Enregistrer