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

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

index 20ae99306bfc35cdcd19e900beda0ff4c4c5018a..92871b73f4ad09c366f784d5e01310c9cbe1b912 100644 (file)
@@ -302,7 +302,7 @@ bool wxGLCanvas::Create( wxWindow *parent,
         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[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;
+        data[12] = None;
 
        attribList = (int*) data;
     }
 
        attribList = (int*) data;
     }
index 20ae99306bfc35cdcd19e900beda0ff4c4c5018a..92871b73f4ad09c366f784d5e01310c9cbe1b912 100644 (file)
@@ -302,7 +302,7 @@ bool wxGLCanvas::Create( wxWindow *parent,
         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[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;
+        data[12] = None;
 
        attribList = (int*) data;
     }
 
        attribList = (int*) data;
     }