Bug 96 - Off-by-one error in pixel format selection on Windows
Summary: Off-by-one error in pixel format selection on Windows
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: 2004-07-15 03:26 CEST by Sven Gothel
Modified: 2010-03-24 07:46 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:46:45 CET


---- Reported by kbr 2004-07-15 15:26:44 ----

GKW on the java.net forums recently pointed out that there is an off-by-one
error in the pixel format selection on Windows for onscreen contexts when using
the OS's recommended pixel format, either from wglChoosePixelFormatARB or
ChoosePixelFormat. The root cause is the failure to subtract one from the
recommendedPixelFormat before invoking the GLCapabilitiesChooser.



---- Additional Comments From kbr 2004-07-15 15:27:33 ----

Fixed typo in description




---- Additional Comments From kbr 2004-07-15 15:28:55 ----

Fixed in the source base and in the forthcoming JOGL 1.1 beta 4.




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

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