From 2ddefbe9d2d99960042e9c2b3327952af112560b Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 22 Dec 2010 01:57:40 +0100 Subject: Fix WGL bitmap regression while fixing it (96a0e0706258824c1dd524d4cbd7682a904b84f4) --- .../com/jogamp/opengl/impl/windows/wgl/WindowsBitmapWGLDrawable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/jogl/classes/com/jogamp/opengl') diff --git a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsBitmapWGLDrawable.java b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsBitmapWGLDrawable.java index 18c868c6d..c61a8d0e4 100644 --- a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsBitmapWGLDrawable.java +++ b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsBitmapWGLDrawable.java @@ -98,8 +98,7 @@ public class WindowsBitmapWGLDrawable extends WindowsWGLDrawable { // NOTE: negating the height causes the DIB to be in top-down row // order rather than bottom-up; ends up being correct during pixel // readback - // header.setBiHeight(-1 * height); - header.setBiHeight(height); + header.setBiHeight(-1 * height); header.setBiPlanes((short) 1); header.setBiBitCount((short) bitsPerPixel); header.setBiXPelsPerMeter(0); -- cgit v1.2.3