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