Closed alec101 closed 9 years ago
M'kay, things are getting close to be done in this issue.
#define OSI_USE_GL_LEGACY
before #include "osinteraction.h
#define OSI_USE_GL_EXT_EXOTIC
. These extensions include everything, but not any ARB extension. If this is a shitty name, i'm open for suggestions.osiGlDisable.h
header fileAny feedback / questions / modifications / proposals are highly appreciated!
At the moment, OpenGL has every extension active, every deprecated stuff active, every incomplete extension active, basically, a mess.
By default, it should be in coreARB mode, i think:
#include "glcorearb.h"
. This file was originally namedgl3.h
when OpenGL3.0 was out and changed at a later date.gl3.h
, but they might change the name in the future too.The current way, in which everything is active, shouldn't go away tho:
#define OSI_USE_OPENGL_LEGACY
the header fileosinteraction.h
will include every bit and piece of OpenGL from dawn to current.gl.h
andglext.h
, so a simple switch between the two modes is easily done.Another problem with coreARB mode is, that if you want to test extensions that are not in ARB, (EXT, NV, ATI, etc), they wrote in the
glcorearb.h
header that you should not includeglext.h
, therefore, you can't access these exotic extensions... BUT: it might be another option in osi, to include somehow these extensions if you want to mess with them... i don't think it would be hard to implement.For both modes, you can still disable every bit of OpenGL with the
osiGlDisable.h
file.These are my thoughts on the matter, any feedback, opinions, is REALLY appreciated.