On Thu, Sep 16, 2010 at 6:00 PM, Giel van Schijndel <[email protected]> wrote: > Considering that most places we use "SDL_opengl.h" we only use it to > properly include "gl.h" and "glu.h" we could probably take that part > from "SDL_opengl.h" (which is independent of SDL) and move that into a > wrapper header in lib/framework/ or lib/ivis_opengl/. That would > additionally make porting to GLESv2 (OpenGL ES 2.0) slightly easier by > requiring the addition of preprocessor conditionals to only that header. > > How would you feel about that approach? I'm reasonably sure it will > even reduce the Qt branch's breakability with respect to the GL/SDL > combination.
If what you are suggesting is to make a new OpenGL header wrapper header file (mmm, I like the sound of that), then by all means feel free, as long as you fix the resulting breakage in Qt branch while you're at it :-) - Per _______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
