|
From: Oliver O. <fr...@us...> - 2007-06-17 10:53:05
|
Update of /cvsroot/simspark/simspark/spark/kerosin/openglserver In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv29408 Modified Files: Tag: projectx openglserver.cpp Log Message: - added method IsGLLocked(), to access the same method from the GL subsystem Index: openglserver.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/spark/kerosin/openglserver/openglserver.cpp,v retrieving revision 1.1.2.3.2.2 retrieving revision 1.1.2.3.2.3 diff -C2 -d -r1.1.2.3.2.2 -r1.1.2.3.2.3 *** openglserver.cpp 1 Jun 2007 13:07:38 -0000 1.1.2.3.2.2 --- openglserver.cpp 17 Jun 2007 10:53:00 -0000 1.1.2.3.2.3 *************** *** 221,222 **** --- 221,232 ---- return mGLSystem->GetWindowHandle(); } + + bool + OpenGLServer::IsGLLocked() const + { + if (mGLSystem.get() == 0) + { + return true; + } + return mGLSystem->IsGLLocked(); + } |