Game Development Community

TGE + SDL libraries ?

by Jeff Yaskus · in Torque Game Engine · 04/20/2010 (1:18 pm) · 2 replies

I'm currently taking a cross-platform design class ... and we are using SDL for the cross platform library.

To my surprise, when compiling my TGE game -- I noticed it links in the SDL library(s) as well.

I know you can use SDL to access OpenGL, but would assume TGE just accesses OpenGL directly.

Anyone know to what extent TGE uses the SDL libraries ?


#1
04/20/2010 (3:33 pm)
Input event handling on Linux. It's also used to some extent for window creation/management and in the preparation of the OpenGL device/render context; again, only on Linux.
#2
04/20/2010 (4:06 pm)
Cool - So it uses it a bit, but not enough to satisfy my course requirements.

No worries, just means I'll have to code a SDL game from scratch rather than use TGE.

Thanks Scott!