Bug 144 - canCreateOffscreenDrawable() doesn't work right
Summary: canCreateOffscreenDrawable() doesn't work right
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2005-02-24 06:40 CET by Sven Gothel
Modified: 2010-03-24 07:47 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:47:34 CET


---- Reported by mustan9 2005-02-24 06:40:28 ----

Hi,
 
I found a bug. On a system with a GNC Driver for OpenGL, and opengl version 1.1
the method for drawable canCreateOffscreenDrawable() returns true when the
driver doesn't support the WGL_ARB_pixel_format extension.
 
Which later causes the GLPbuffer Window's implemenation to throw an exception
that the extension is not availible.

I think that the canCreateOffscreenDrawable should check if the GL_ARB_pbuffer
extension is availible. In the above case the extension was not availible, but
canCreateOffscreenDrawable still returned true.



---- Additional Comments From kbr 2005-02-24 07:56:14 ----

This was fixed yesterday under bug ID 114. The fix will be present in the next beta.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:47 EDT  ---

This bug was previously known as _bug_ 144 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=144