mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-26 11:49:25 +01:00
engine: android: don't throw host error when initializing software renderer on Android
This commit is contained in:
parent
d3dd671759
commit
06e38b45c8
@ -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 )
|
||||
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…
Reference in New Issue
Block a user