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 3470

Summary: OpenGL compability
Product: SDL Reporter: live3v1l
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2    
Version: 2.0.5   
Hardware: x86_64   
OS: Windows 7   

Description live3v1l 2016-10-25 20:49:05 UTC
Header SDL_opengl.h has declarations of functions from OpenGL 1.3
which are not supported by import library opengl32.lib on operating systems
like Windows 7 and older windows systems.

So you have to achieve addresses of these functions during runtime.

However you can't load declared extern pointers named as these functions during application runtime because this names has already been declared in SDL_opengl.h
which doesn't make sense because opengl32.lib doesn't have declaration of them.

SDL version 2.0.3 had macro GL_GLEXT_PROTOTYPES which prevented declaration
of functions from OpenGL 1.3
Comment 1 Sam Lantinga 2017-08-11 20:29:07 UTC
Ryan, can you review this?