Skip to content

Instantly share code, notes, and snippets.

@alivesay
Created May 7, 2016 06:01
Show Gist options
  • Save alivesay/9e8f410329e0d1beb11ff5eda3202677 to your computer and use it in GitHub Desktop.
Save alivesay/9e8f410329e0d1beb11ff5eda3202677 to your computer and use it in GitHub Desktop.
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
^ Doing this, yet glGetString(GL_VERSION) returns "3.0 Mesa 11.2.1". Why?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment