From: Unknown (NI) Date: Thu, 20 Jul 2000 19:18:38 +0000 (+0000) Subject: another small error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/aff5d5914862b922437c73e503af463f511a1fad?hp=e6afccba51e094572f31de65e939987ecc683caf another small error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/glcanvas.cpp b/src/gtk/glcanvas.cpp index 20ae99306b..92871b73f4 100644 --- a/src/gtk/glcanvas.cpp +++ b/src/gtk/glcanvas.cpp @@ -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; } diff --git a/src/gtk1/glcanvas.cpp b/src/gtk1/glcanvas.cpp index 20ae99306b..92871b73f4 100644 --- a/src/gtk1/glcanvas.cpp +++ b/src/gtk1/glcanvas.cpp @@ -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; }