Update of /cvsroot/simspark/simspark/spark/kerosin/openglserver
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28399
Modified Files:
Tag: projectx
openglsystem.h
Log Message:
- added virtual method IsGLLocked(), used to indicate that the GL System wants to prevent direct GL access by other classes
Index: openglsystem.h
===================================================================
RCS file: /cvsroot/simspark/simspark/spark/kerosin/openglserver/openglsystem.h,v
retrieving revision 1.1.2.1.2.1
retrieving revision 1.1.2.1.2.2
diff -C2 -d -r1.1.2.1.2.1 -r1.1.2.1.2.2
*** openglsystem.h 30 Mar 2007 01:51:57 -0000 1.1.2.1.2.1
--- openglsystem.h 17 Jun 2007 10:50:14 -0000 1.1.2.1.2.2
***************
*** 53,56 ****
--- 53,59 ----
virtual unsigned long int GetWindowHandle() const { return 0; }
+ //! return if the GL subsystem locks using OpenGL to get exclusive access.
+ virtual bool IsGLLocked() const { return false; }
+
protected:
//
|