We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2754 - Can't load OpenGL Context over 2.1 Mac OSX Yosemite
Summary: Can't load OpenGL Context over 2.1 Mac OSX Yosemite
Status: RESOLVED INVALID
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.3
Hardware: x86 Other
: P2 blocker
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-17 17:32 UTC by Trevor
Modified: 2014-10-17 23:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trevor 2014-10-17 17:32:05 UTC
When I set this:
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
Regardless of what versions I use my OpenGL version prints 4.1 but my OenGL context is never created. All of the commands (Except the version) return with an error code 1282.

SDL_GL_CreateContext does not return NULL and my drivers support 4.1 (core).

I run Intel HD Graphics 4000 - https://developer.apple.com/opengl/capabilities/
also - http://support.apple.com/kb/HT5942

I posted a question about for a more detailed explination (I didn't think it was an SDL bug) - http://stackoverflow.com/questions/26419606/sdl-cant-load-opengl-context-over-2-1-mac-osx-yosemite
Comment 1 Trevor 2014-10-17 23:16:55 UTC
It works fine. I was using OpenGL 2 commands without realizing it.