Advertisement

using opengl for effects on a 2d game...

Started by March 22, 2002 01:58 PM
11 comments, last by XFire666 22 years, 11 months ago
Hi vincoof,
i found a demo on demonews.com that works exactly on that way. I''ll try to get it to work with sdl and direct draw this weekend.
And if i got it to work i maybe write a small concept for a tutorial that explains the background of the code.
Thanks for your support!
Hell ain''t a bad place, hell is from here to eternity!
I am not a 100% sure, but I believe that if you are going to use SDL and OpenGL you cant use standard SDL surfaces and video functions, you have to use OGL for all your video needs, again, I am not 100% sure.

Advertisement
Actually, if you set up the video mode in SDL with SDL_OPENGLBLIT you can use both OpenGL and SDL functions for the surface.

This topic is closed to new replies.

Advertisement