Thanks for the tip!
The CVS snapshot of SDL has a demo library using Mesa for GL rendering!
Check out SDL-demos/OpenGL/
I can’t get it to compile, but from looking at the source I don’t think you
resolved one of the problems I’m having, namely that OSMesa thinks it real
cool to but pixel 0 in the Lower left hand corner of the screen, so
everything is upside down…hmm…
I have managed to resolve my OpenGL problems by using the OSMESA
functions which render into an Offscreen Buffer. I will provide an SDL
BackBuffer as the pointer for this function and hope everything works
out.
emblem
Thanks for the tip!
The CVS snapshot of SDL has a demo library using Mesa for GL rendering!
Check out SDL-demos/OpenGL/
Thanks for the tip!
The CVS snapshot of SDL has a demo library using Mesa for GL rendering!
Check out SDL-demos/OpenGL/
I can’t get it to compile, but from looking at the source I don’t think you
resolved one of the problems I’m having, namely that OSMesa thinks it real
cool to but pixel 0 in the Lower left hand corner of the screen, so
everything is upside down…hmm…
It does resolve that problem:
/* Tell OSMesa that we use top-down bitmaps */
OSMesaPixelStore(OSMESA_Y_UP, 0);