浏览代码

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

legacy
Sam Hocevar sam 14 年前
父节点
当前提交
c39012688f
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. +5
    -0
      src/video.cpp

+ 5
- 0
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)
{


正在加载...
取消
保存