SDL 1.3 and OpenGL 1.0 context

I’ve tried to make an OpenGL 1.0 context, or to use OpenGL 1.1 in some
fashion, but OpenGL always says it’s using a 4.0 context ( from
outputting glGetString(GL_VERSION) ).
Is it possible to use OpenGL 1.0 with SDL 1.3?

-Alex

The driver is indicating that while you asked for an OpenGL 1.0 context (likely not explicitly), it is exposing features of later OpenGL versions, this is a choice of the driver vendor, and I’d expect
all of these features to work despite your low context version.

OpenGL was supposed to go to a core profile (with legacy removed and new features added) and a compatibility profile (frozen at 3.0 or so) as of OpenGL 3.1 but the vendors have in general exposed
everything up to and including 4.0 even in context version 1.0, for that matter you often also see the OpenGL ES 2.0 API exposed on modern drivers even for a 1.0 context.

Are you are trying to limit your OpenGL capabilities to a specific standard? Not sure if there is a way to do that.On 12/05/2011 08:15 AM, Alex Barry wrote:

I’ve tried to make an OpenGL 1.0 context, or to use OpenGL 1.1 in some fashion, but OpenGL always says it’s using a 4.0 context ( from outputting glGetString(GL_VERSION) ).
Is it possible to use OpenGL 1.0 with SDL 1.3?

-Alex


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


LordHavoc
Author of DarkPlaces Quake1 engine - http://icculus.org/twilight/darkplaces
Co-designer of Nexuiz - http://alientrap.org/nexuiz
"War does not prove who is right, it proves who is left." - Unknown
"Any sufficiently advanced technology is indistinguishable from a rigged demo." - James Klass
"A game is a series of interesting choices." - Sid Meier