[gameprogrammer] Re: opengl

  • From: Matthew Weigel <unique@xxxxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Fri, 20 Apr 2007 10:11:22 -0500

Ace wrote:
> so do you mean that people use both SDL and OpenGL in one project?

Yes.

> when do we should use SDL or OpenGL?

If you're looking to write cross-platform games, or want to use OpenGL
(and don't want to use the native libraries on your platform for
things): you can use SDL for user input, audio, window management, and
fonts, but use OpenGL to render 3D images on your screen.  It works
fine, in fact SDL is designed to support it.
-- 
 Matthew Weigel
 hacker
 unique@xxxxxxxxxxx

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: