This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
android: enforce fullscreen on Android until we have several layouts.
legacy
Sam Hocevar
sam
13 years ago
parent
302e45e851
commit
c39012688f
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
src/video.cpp
+ 5
- 0
src/video.cpp
View File
@@ -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)
{
Write
Preview
Loading…
Cancel
Save