Update of /cvsroot/libufo/ufo-0.5/src/ux
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13581/src/ux
Modified Files:
uxsdldriver.cpp
Log Message:
Returning now with a single line warning if SDL library hasn't been found.
Index: uxsdldriver.cpp
===================================================================
RCS file: /cvsroot/libufo/ufo-0.5/src/ux/uxsdldriver.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** uxsdldriver.cpp 16 Jul 2005 13:42:58 -0000 1.10
--- uxsdldriver.cpp 2 Sep 2005 13:26:36 -0000 1.11
***************
*** 78,83 ****
--- 78,88 ----
m_isValid = m_sdlLib->load(UFO_SDL_LIB);
}
+ if (!m_isValid) {
+ uWarning() << "Couldn't load SDL library.\n";
+ return;
+ }
s_sdl_driver = this;
+
#define UFO_SDL_PROC(ret,func,params) \
{ \
|