[SDL] openglblit
Timo K Suoranta
tksuoran at cc.helsinki.fi
Fri Mar 30 00:22:37 PST 2001
Sorry if this is duplicate message.. I'm
not sure if this went to right place in my
first attempt..
I was wondering how am I supposed to combine
opengl and normal blitting.
I tried first doing opengl calls, then glFinish()
(whould glFlush() be enough?), then locking the
surface, doing drawing, unlocking, and finally
updaterects, and glswapbuffers.
That worked, expect If I gave larger updaterects
than the single grey rectangle I draw, the rest
of the area was white; it didn't combine my sdl
blit drawings to the opengl drawings.
My question is: Can I combine opengl and blit
drawings, so that updaterects wont overwrite
opengl graphics where I have not drawn?
Can I use alpha blitting without to combine
opengl and blit graphics?
How?
Thanks!
-- Timo Suoranta -- tksuoran at cc.helsinki.fi --
More information about the SDL
mailing list