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 - OpenGL compability
Summary: OpenGL compability
Status: ASSIGNED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: 2.0.5
Hardware: x86_64 Windows 7
: P2 trivial
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-25 20:49 UTC by live3v1l
Modified: 2017-08-11 20:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?