diff options
author | Sven Gothel <[email protected]> | 2010-12-22 01:57:40 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-12-22 01:57:40 +0100 |
commit | 2ddefbe9d2d99960042e9c2b3327952af112560b (patch) | |
tree | 350ee1293a89e93bd90a5522710afbbf9cdcce00 /src/jogl/classes/com/jogamp/opengl/impl | |
parent | 2cbab63bd6c230d31b8ae6f1d794ad49bf23bb53 (diff) |
Fix WGL bitmap regression while fixing it (96a0e0706258824c1dd524d4cbd7682a904b84f4)
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsBitmapWGLDrawable.java | 3 |
1 files changed, 1 insertions, 2 deletions
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); |