diff options
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); |