From 114cc22cbc510934eb199aaff63617b9b845c588 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 29 Jan 2012 12:53:12 +0000 Subject: [PATCH] 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 --- engine/client/sys_droid.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engine/client/sys_droid.c b/engine/client/sys_droid.c index 08e807cca..21474d2bc 100644 --- a/engine/client/sys_droid.c +++ b/engine/client/sys_droid.c @@ -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 [] = {