Open ptheywood opened 8 years ago
If you add this code before the context is created, the last two lines should flush any defaults which force forwards compatibility. Might simply be the case that forward compatibility is enables on Linux by default, but not on windows.
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, 0);
Using the above note, I've managed to get the branch 4.3compat working, would be useful to check this branch now builds/runs on Linux.
Will also need to adjust Stock font's in Text
on Linux.
Working version on linux would be nice.
Makefile has been created ptheywood/sdl_exp@c06d369, however OpenGL issues are stopping any rendering (currently)