diff options
author | Sven Gothel <[email protected]> | 2008-05-30 14:42:21 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-05-30 14:42:21 +0000 |
commit | fda78c151ffb6eee24ddc03a7a604e2598824502 (patch) | |
tree | 76523793f021e65dec57e95dc647db41eb90e252 | |
parent | d6d1b2825a28d25c09a87ca855e01a0d85b5fa75 (diff) |
16 bit RGB: 5 6 5
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@238 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
-rwxr-xr-x | src/demos/es1/RedSquare.java | 2 | ||||
-rwxr-xr-x | src/demos/es1/angeles/Main.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/es1/RedSquare.java b/src/demos/es1/RedSquare.java index b398193..433c926 100755 --- a/src/demos/es1/RedSquare.java +++ b/src/demos/es1/RedSquare.java @@ -52,7 +52,7 @@ public class RedSquare implements MouseListener { GLCapabilities caps = new GLCapabilities(); // For emulation library, use 16 bpp caps.setRedBits(5); - caps.setGreenBits(5); + caps.setGreenBits(6); caps.setBlueBits(5); caps.setDepthBits(16); GLDrawable drawable = factory.getGLDrawable(window.getHandles(), caps, null); diff --git a/src/demos/es1/angeles/Main.java b/src/demos/es1/angeles/Main.java index ccd2db8..b0e264a 100755 --- a/src/demos/es1/angeles/Main.java +++ b/src/demos/es1/angeles/Main.java @@ -49,7 +49,7 @@ public class Main implements MouseListener { GLCapabilities caps = new GLCapabilities(); // For emulation library, use 16 bpp caps.setRedBits(5); - caps.setGreenBits(5); + caps.setGreenBits(6); caps.setBlueBits(5); caps.setDepthBits(16); GLDrawable drawable = factory.getGLDrawable(window.getHandles(), caps, null); |