Rewrite ToGL in OpenGLES(Uncomplete)

This commit is contained in:
nillerusr
2021-11-21 01:38:59 +03:00
parent 76bfcf40ca
commit 4508c9c863
24 changed files with 829 additions and 1057 deletions
+7
View File
@@ -1176,6 +1176,8 @@ static const char *BuildCommand()
return (const char *)build.Base();
}
extern void InitGL4ES();
//-----------------------------------------------------------------------------
// Purpose: The real entry point for the application
// Input : hInstance -
@@ -1208,8 +1210,13 @@ DLL_EXPORT int LauncherMain( int argc, char **argv )
{
Warning( "WARNING: setlocale('%s') failed, using locale:'%s'. International characters may not work.\n", en_US, CurrentLocale );
}
#endif // LINUX
#if defined LINUX && defined USE_SDL && defined TOGLES
SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1");
#endif
#ifdef WIN32
SetAppInstance( hInstance );
#elif defined( POSIX )