]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/glcanvas.cpp
fixes from the 2.2 branch
[wxWidgets.git] / src / gtk / 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[13] = None;
+        data[12] = None;
 
        attribList = (int*) data;
     }