Working on improving the cross compiler
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#include "sdl.h"
|
||||
|
||||
game_t *GAME_STATE;
|
||||
@ -22,7 +21,7 @@ int32_t main(int32_t argc, char *argv[]) {
|
||||
float timeDelta;
|
||||
|
||||
// Init SEDL
|
||||
if(SDL_Init( SDL_INIT_VIDEO) < 0) {
|
||||
if(SDL_Init(SDL_INIT_VIDEO) < 0) {
|
||||
printf("No init SDL\n");
|
||||
return 1;
|
||||
}
|
||||
@ -57,7 +56,7 @@ int32_t main(int32_t argc, char *argv[]) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
#if SETTING_USE_GLAD == 1
|
||||
#if SETTING_PLATFORM_USE_GLAD == 1
|
||||
// Load glad
|
||||
if (!gladLoadGLLoader((GLADloadproc) SDL_GL_GetProcAddress)) {
|
||||
printf("Failed to initialize the OpenGL context.\n");
|
||||
|
Reference in New Issue
Block a user