Commit graph

7 commits

Author SHA1 Message Date
Sam Lantinga
7af6f1bab9 Don't have Windows headers define min/max, in case they're defined by application code 2019-09-11 15:08:37 -07:00
Marc Di Luzio
ec0e5f1a73 Allow setting of GL_CONTEXT_RELEASE_BEHAVIOR when creating the GL context when GLX_ARB_context_flush_control is available.
This extension allows the user to specify whether a full flush is performed when making a context not current.
The only way to set this currently is at context creation, so this patch provides that functionality.
Defualt behaviour is set at FLUSH, as per the spec.

This patch does not contain the changes to WGL, appleGL or other platforms as I do not have access to GL 4.5 hardware on those platforms.

Full details on the use of KHR_context_flush_control can be found here:
https://www.opengl.org/registry/specs/KHR/context_flush_control.txt
2015-03-06 16:03:40 +00:00
Sam Lantinga
c1e53ee38c Better Mac OS X build fix - actually match the SDK OpenGL headers. 2014-08-18 18:44:08 -07:00
Sam Lantinga
179a0e565f Fixed Mac OS X build 2014-08-18 18:17:03 -07:00
Sam Lantinga
ec88cc536a Fixed Mac OS X build 2014-06-04 16:35:07 -07:00
Jørgen P. Tjernø
ace98412d0 SDL_opengl: Update to glext.h from Khronos dated 2014-05-21.
This updates to the latest glext.h from Khorons that includes the OpenGL
4.4 specification. It was retrieved from
http://www.opengl.org/registry/api/GL/glext.h at 2014-06-04.

--HG--
extra : rebase_source : 85adb5e14c704f0202041dc0dd9ef9402508f1f6
2014-06-04 01:32:52 -07:00
Jørgen P. Tjernø
293e0c0657 SDL_opengl: Move glext.h to a separate file.
--HG--
extra : rebase_source : 36b782051e621861bfc8f47249a4e2d1ea8f4775
2014-06-04 01:21:00 -07:00