Reformat to something more readable for me :3
Build libsm64 / Build libsm64 for linux (push) Failing after 29s
Build libsm64 / Build libsm64 for web (push) Failing after 31s
Build libsm64 / Build libsm64 for windows (push) Failing after 23s

This commit is contained in:
2026-05-24 11:31:35 -05:00
parent 4328104536
commit da3d3b9727
141 changed files with 29855 additions and 20635 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ void context_init( const char *title, int width, int height, int major, int mino
{
if( SDL_Init( SDL_INIT_VIDEO | SDL_INIT_JOYSTICK ) < 0 ) goto err;
int profile = (major < 3) ? SDL_GL_CONTEXT_PROFILE_COMPATIBILITY : SDL_GL_CONTEXT_PROFILE_CORE;
int profile = major < 3 ? SDL_GL_CONTEXT_PROFILE_COMPATIBILITY : SDL_GL_CONTEXT_PROFILE_CORE;
SDL_GL_SetAttribute( SDL_GL_CONTEXT_MAJOR_VERSION, major );
SDL_GL_SetAttribute( SDL_GL_CONTEXT_MINOR_VERSION, minor );
@@ -41,7 +41,7 @@ void context_init( const char *title, int width, int height, int major, int mino
if( glewInitResult != GLEW_OK ) goto err;
#endif
s_controller = NULL;
s_controller = nullptr;
for( int i = 0; i < SDL_NumJoysticks(); ++i )
{
@@ -110,5 +110,5 @@ void context_terminate( void )
SDL_DestroyWindow( s_sdlWindow );
SDL_Quit();
s_sdlWindow = NULL;
s_sdlWindow = nullptr;
}