From aff5d5914862b922437c73e503af463f511a1fad Mon Sep 17 00:00:00 2001 From: "Unknown (NI)" Date: Thu, 20 Jul 2000 19:18:38 +0000 Subject: [PATCH] another small error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/glcanvas.cpp | 2 +- src/gtk1/glcanvas.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.45.2