aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/impl/windows
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-30 14:01:15 +0200
committerMichael Bien <[email protected]>2010-03-30 14:01:15 +0200
commit44b93b2d63539bca4c7e3facfee90d5f3bbb67cf (patch)
tree528cb1b0c5e965cc07cfd390196caf05aba9aa7f /src/jogl/classes/com/jogamp/opengl/impl/windows
parentf250183bc3d8eb4ef87cecb3311eae554dcafe53 (diff)
parent62dcd1a3fe345c4d2c0e42472d2c7646fe224e8f (diff)
Merge branch 'master' of github.com:mbien/jogl
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/windows')
-rw-r--r--src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java
index e0c70bd8c..bf466d455 100644
--- a/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java
+++ b/src/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsOffscreenWGLDrawable.java
@@ -99,7 +99,7 @@ public class WindowsOffscreenWGLDrawable extends WindowsWGLDrawable {
}
((SurfaceChangeable)nw).setSurfaceHandle(hdc);
- hbitmap = WGL.CreateDIBSection(hdc, info, WGL.DIB_RGB_COLORS, 0, 0, 0);
+ hbitmap = WGL.CreateDIBSection(hdc, info, WGL.DIB_RGB_COLORS, null, 0, 0);
if (hbitmap == 0) {
WGL.DeleteDC(hdc);
hdc = 0;