1
0
Fork 0
forked from fte/fteqw

Fix screen rotations making the screen black.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3970 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-01-29 12:53:12 +00:00
parent c1f65683bb
commit 114cc22cbc

View file

@ -43,7 +43,9 @@ JNIEXPORT void JNICALL Java_com_fteqw_FTEDroidEngine_init(JNIEnv *env, jobject o
{
vid.pixelwidth = width;
vid.pixelheight = height;
if (!sys_running)
if (sys_running)
Cmd_ExecuteString("vid_restart\n", RESTRICT_LOCAL);
else
{
char *args [] =
{