Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
lillo, gfxlib(insert v) + OpenGL = pregnant donkey
#5
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:
Code:
#IfDef _USE_SDL_

    SDL_GL_SwapBuffers

#Else

    Flip

#EndIf
The code itself is designed to only use the underlying interface only at creation/flip/destruction time, the rest is pure OpenGL.
Life is like a box of chocolates', hrm, WTF, no it isn't, more like, 'life is like a steaming pile of horse crap.'
Reply


Messages In This Thread
lillo, gfxlib(insert v) + OpenGL = pregnant donkey - by 1000101 - 06-11-2005, 12:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)