mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
c1f65683bb
commit
114cc22cbc
1 changed files with 3 additions and 1 deletions
|
@ -43,7 +43,9 @@ JNIEXPORT void JNICALL Java_com_fteqw_FTEDroidEngine_init(JNIEnv *env, jobject o
|
||||||
{
|
{
|
||||||
vid.pixelwidth = width;
|
vid.pixelwidth = width;
|
||||||
vid.pixelheight = height;
|
vid.pixelheight = height;
|
||||||
if (!sys_running)
|
if (sys_running)
|
||||||
|
Cmd_ExecuteString("vid_restart\n", RESTRICT_LOCAL);
|
||||||
|
else
|
||||||
{
|
{
|
||||||
char *args [] =
|
char *args [] =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue