aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/ogl/NativeConfigTemplate3D.c
diff options
context:
space:
mode:
authorChien Yang <jada@dev.java.net>2005-02-14 20:54:30 +0000
committerChien Yang <jada@dev.java.net>2005-02-14 20:54:30 +0000
commita606b2163bba30d9ab9ce3bc6ca08b1f7dd18f2d (patch)
tree669d7d49c1a6f1259b433848bd4a89c507b745f8 /src/native/ogl/NativeConfigTemplate3D.c
parentd5602c854548a67bf11adf339a5f87cd3bce5505 (diff)
1) Fixed to issue 97 - ATI video card related - Lockup, lose hardware acceleration and crash OS.
2) Fixed to issue 98 - Random Lockup when adding a Canvas3D to JTabbedPane. 3) Partial fix to issue 100 - Offscreen Capture crash JVM. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@120 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/ogl/NativeConfigTemplate3D.c')
-rw-r--r--src/native/ogl/NativeConfigTemplate3D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/ogl/NativeConfigTemplate3D.c b/src/native/ogl/NativeConfigTemplate3D.c
index 9ebb0f3..0e9976a 100644
--- a/src/native/ogl/NativeConfigTemplate3D.c
+++ b/src/native/ogl/NativeConfigTemplate3D.c
@@ -972,7 +972,7 @@ int find_DB_AA_S_PixelFormat( HDC hdc, PixelFormatInfo * pFormatInfo,
if (dbVal == UNNECESSARY || dbVal== PREFERRED) {
index = dbIndex;
wglAttrs[index++] = WGL_DOUBLE_BUFFER_ARB;
- wglAttrs[index++] = TRUE;
+ wglAttrs[index++] = FALSE; // Partial fix to issue 100.
/*
* Terminate by 2 zeros to avoid driver bugs
* that assume attributes always come in pairs.