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 4983

Summary: test: Improved detection of OpenGL support
Product: SDL Reporter: Cameron Cawley <ccawley2011>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 4984    
Attachments: test: Improved detection of OpenGL support

Description Cameron Cawley 2020-02-13 22:29:38 UTC
Created attachment 4214 [details]
test: Improved detection of OpenGL support

This patch does two things:

 - It now uses SDL_opengles.h and SDL_opengles2.h instead of the platform specific GLES headers. This is consistent with the OpenGL test.
 - It also ensures that OpenGL is supported by SDL on a given platform by checking for the SDL_VIDEO_OPENGL* defines.
Comment 1 Sam Lantinga 2020-02-15 00:23:38 UTC
Looks good, thanks!
https://hg.libsdl.org/SDL/rev/cf2ef2000634