Browse Source

engine: android: don't throw host error when initializing software renderer on Android

pull/2/head
Alibek Omarov 5 years ago
parent
commit
06e38b45c8
  1. 7
      engine/platform/android/vid_android.c

7
engine/platform/android/vid_android.c

@ -96,7 +96,6 @@ qboolean R_Init_Video( const int type ) @@ -96,7 +96,6 @@ qboolean R_Init_Video( const int type )
{
case REF_SOFTWARE:
glw_state.software = true;
Host_Error( "software mode isn't supported on Android yet! :(\n", type );
break;
case REF_GL:
if( !glw_state.safe && Sys_GetParmFromCmdLine( "-safegl", safe ) )
@ -110,6 +109,12 @@ qboolean R_Init_Video( const int type ) @@ -110,6 +109,12 @@ qboolean R_Init_Video( const int type )
break;
}
if( glw_state.software )
{
Con_Reportf( S_ERROR "Native software mode isn't supported on Android yet! :(\n" );
return false;
}
if( !(retval = VID_SetMode()) )
{
return retval;

Loading…
Cancel
Save