From 96cbe03a943f3189531a7ec9baf680bdf1417929 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 31 Jul 2011 20:45:06 +0200 Subject: 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. --- src/nativewindow/classes/javax/media/nativewindow/Capabilities.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3