Hi All,
Could someone point out to me in which situation I would use SDL_OPENGLBLIT and how to use it. I did not see any examples in the documentation.
Thanks,
Dominique
http://www.DelphiGamer.com := for all you Delphi/Kylix game development needs;
Dominique at SavageSoftware.com.au wrote:
Hi All,
Could someone point out to me in which situation I would use SDL_OPENGLBLIT and how to use it. I did not see any examples in the documentation.
look at tesgl.c example in SDL distribution.
if you call it with “-logo” it use SDL_OPENGLBLIT …
what doeas means this flag anyway ?
it means that you want do ordinary (2D) blit operation on your opengl
frame buffer. (normally you could only successfully do glCall … in
OpenGL mode)
there is some special intern for this ! maybe it draw to a hidden
surface and blit it after, i don’t know, but this has performance drawback.