06-11-2005, 12:35 PM
hrm, it's a bit of a slurry with just over 4K lines of my code, and this is just a mesh viewer, it doesn't really do anything.
Generally, the code to use (SDL/gfxlib) is determined at compile time through definitions, ie:
The code itself is designed to only use the underlying interface only at creation/flip/destruction time, the rest is pure OpenGL.
Generally, the code to use (SDL/gfxlib) is determined at compile time through definitions, ie:
Code:
#IfDef _USE_SDL_
SDL_GL_SwapBuffers
#Else
Flip
#EndIf
Life is like a box of chocolates', hrm, WTF, no it isn't, more like, 'life is like a steaming pile of horse crap.'