Files
Velix-MPV-Core/libvo
Kovensky 59125ce71e gl_common: OpenGL 3.x context support on windows
Also include GL/glext.h on windows:

Mingw's (and cygwin's) GL/gl.h has GL/glext.h's inclusion commented
out for some reason. Their glext.h is also ancient, so do yourself
a favor and replace your GL/glext.h with the one from
http://www.opengl.org/registry/api/glext.h .

A workaround is needed for NVidia's broken wglCreateContextAtrribsARB:

It'll return an error if the requested OpenGL version is previous to
3.2 *and* you request a profile... which is exactly *not* what the
wgl_create_context spec says should happen.

Handle it by removing the profile request from attribs[] and retrying
the context creation once more if the first try fails.

And after my first foray into OpenGL I already find a driver quirk.
Oh well.
2012-03-31 02:58:52 +02:00
..
…
…
…
…
2012-02-24 15:25:22 +01:00
…
…
2011-10-24 07:21:32 +03:00
…
…
2011-05-06 18:33:16 +03:00
…
2012-02-24 15:25:22 +01:00
2012-03-17 21:06:30 +01:00
2011-05-02 00:46:03 +03:00
…
…
2012-03-09 20:48:54 +02:00
2012-02-24 15:25:22 +01:00
…
2012-03-09 20:48:54 +02:00
2012-02-24 15:25:22 +01:00
…
…
…
2011-01-31 16:03:10 +02:00
2012-03-17 21:06:30 +01:00
2012-01-18 04:13:27 +01:00