Creating an OpenGL 3.2/3.x context in SDL 1.3
问题 I'm facing a problem where SDL says it does not support OpenGL 3.x contexts. I am trying to follow this tutorial: Creating a Cross Platform OpenGL 3.2 Context in SDL (C / SDL). I am using GLEW in this case, but I couldn't get gl3.h to work with this either. This is the code I ended up with: #include <glew.h> #include <SDL.h> int Testing::init() { if(SDL_Init(SDL_INIT_EVERYTHING) < 0) { DEBUGLINE("Error initializing SDL."); printSDLError(); system("pause"); return 1; // Error } //Request