From: Max G. <gi...@li...> - 2000-10-14 21:43:31
|
Hello! Is there any way of checking if a GL context is made already current (gljMakeCurrent())? Calling gljMakeCurrent() twice crashes JVM, haven't checkeg gljFree() twice... but is there some clean way of checking it? BTW, is it possible to change GL4Java's behavior from crashing JVM to just throwing an exception in case of duplicate context activation? This is true for GL4J 2.4.0.0 and Sun's JVMs 1.2.2 and 1.3rc1 and IBM's 1.3 / Linux. Max -- Max Gilead (gi...@li...) http://3d.linart.krakow.pl/OfficinaArtificialis --- -- XMage: Image / 3D / OpenGL Java library - http://xmage.sourceforge.net ----------------------------------------------------------------------------- -- This email was published on recyclable bytes and no AI was harmed -- -- during its creation. -- |