diff options
author | Sven Gothel <[email protected]> | 2011-07-31 20:45:06 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-07-31 20:45:06 +0200 |
commit | 96cbe03a943f3189531a7ec9baf680bdf1417929 (patch) | |
tree | da660484d824800edfad41a47defc25b5e71b414 /src/nativewindow | |
parent | 355d1da079f9635bba3441482766f100b8c8e7ce (diff) |
NativeWindow Capabilities: rgb -> 555, allows using low profile devices
All GLCaps chooser will pick the highest available pixelformat,
so if 32bpp is available rgba8888 will be used anyways.
Diffstat (limited to 'src/nativewindow')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/Capabilities.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java b/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java index 79d69c703..7104eb027 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java +++ b/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java @@ -45,9 +45,9 @@ package javax.media.nativewindow; contains the minimal number of routines which allow configuration on all supported window systems. */ public class Capabilities implements CapabilitiesImmutable, Cloneable, Comparable { - private int redBits = 8; - private int greenBits = 8; - private int blueBits = 8; + private int redBits = 5; + private int greenBits = 5; + private int blueBits = 5; private int alphaBits = 0; // Support for transparent windows containing OpenGL content |