]> git.saurik.com Git - wxWidgets.git/commitdiff
no comment :)
authorUnknown (NI) <nobody@localhost>
Thu, 20 Jul 2000 18:18:18 +0000 (18:18 +0000)
committerUnknown (NI) <nobody@localhost>
Thu, 20 Jul 2000 18:18:18 +0000 (18:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/glcanvas.cpp
src/gtk1/glcanvas.cpp

index 01f39b67b22de0370e86da2dc75ef5ed2d122bd9..20ae99306bfc35cdcd19e900beda0ff4c4c5018a 100644 (file)
@@ -297,12 +297,11 @@ bool wxGLCanvas::Create( wxWindow *parent,
         // default settings if attriblist = 0
         data[0] = GLX_RGBA;
         data[1] = GLX_DOUBLEBUFFER;
         // default settings if attriblist = 0
         data[0] = GLX_RGBA;
         data[1] = GLX_DOUBLEBUFFER;
-        data[2] = GLX_DOUBLEBUFFER;
-        data[3] = GLX_DEPTH_SIZE;   data[4] = 1;
-        data[5] = GLX_RED_SIZE;     data[6] = 1;
-        data[7] = GLX_GREEN_SIZE;   data[8] = 1;
-        data[9] = GLX_BLUE_SIZE;    data[10] = 1;
-        data[11] = GLX_ALPHA_SIZE;  data[12] = 0;
+        data[2] = GLX_DEPTH_SIZE;   data[3] = 1;
+        data[4] = GLX_RED_SIZE;     data[5] = 1;
+        data[6] = GLX_GREEN_SIZE;   data[7] = 1;
+        data[8] = GLX_BLUE_SIZE;    data[9] = 1;
+        data[10] = GLX_ALPHA_SIZE;  data[11] = 0;
         data[13] = None;
 
        attribList = (int*) data;
         data[13] = None;
 
        attribList = (int*) data;
index 01f39b67b22de0370e86da2dc75ef5ed2d122bd9..20ae99306bfc35cdcd19e900beda0ff4c4c5018a 100644 (file)
@@ -297,12 +297,11 @@ bool wxGLCanvas::Create( wxWindow *parent,
         // default settings if attriblist = 0
         data[0] = GLX_RGBA;
         data[1] = GLX_DOUBLEBUFFER;
         // default settings if attriblist = 0
         data[0] = GLX_RGBA;
         data[1] = GLX_DOUBLEBUFFER;
-        data[2] = GLX_DOUBLEBUFFER;
-        data[3] = GLX_DEPTH_SIZE;   data[4] = 1;
-        data[5] = GLX_RED_SIZE;     data[6] = 1;
-        data[7] = GLX_GREEN_SIZE;   data[8] = 1;
-        data[9] = GLX_BLUE_SIZE;    data[10] = 1;
-        data[11] = GLX_ALPHA_SIZE;  data[12] = 0;
+        data[2] = GLX_DEPTH_SIZE;   data[3] = 1;
+        data[4] = GLX_RED_SIZE;     data[5] = 1;
+        data[6] = GLX_GREEN_SIZE;   data[7] = 1;
+        data[8] = GLX_BLUE_SIZE;    data[9] = 1;
+        data[10] = GLX_ALPHA_SIZE;  data[11] = 0;
         data[13] = None;
 
        attribList = (int*) data;
         data[13] = None;
 
        attribList = (int*) data;