From f5318dd5d1689cded4c52263b7436c1c8c247aa9 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Fri, 24 Nov 2006 10:30:42 +0000 Subject: [PATCH] Fix code comment: Giuseppe Bilotta tells me that ALPHA does not refer to the blue buffer and glXChooseVisual manual agrees git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/glcanvas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h index 680796ee28..4e3e4328b8 100644 --- a/include/wx/glcanvas.h +++ b/include/wx/glcanvas.h @@ -35,13 +35,13 @@ enum WX_GL_MIN_RED, /* use red buffer with most bits (> MIN_RED bits) */ WX_GL_MIN_GREEN, /* use green buffer with most bits (> MIN_GREEN bits) */ WX_GL_MIN_BLUE, /* use blue buffer with most bits (> MIN_BLUE bits) */ - WX_GL_MIN_ALPHA, /* use blue buffer with most bits (> MIN_ALPHA bits) */ + WX_GL_MIN_ALPHA, /* use alpha buffer with most bits (> MIN_ALPHA bits) */ WX_GL_DEPTH_SIZE, /* bits for Z-buffer (0,16,32) */ WX_GL_STENCIL_SIZE, /* bits for stencil buffer */ WX_GL_MIN_ACCUM_RED, /* use red accum buffer with most bits (> MIN_ACCUM_RED bits) */ WX_GL_MIN_ACCUM_GREEN, /* use green buffer with most bits (> MIN_ACCUM_GREEN bits) */ WX_GL_MIN_ACCUM_BLUE, /* use blue buffer with most bits (> MIN_ACCUM_BLUE bits) */ - WX_GL_MIN_ACCUM_ALPHA /* use blue buffer with most bits (> MIN_ACCUM_ALPHA bits) */ + WX_GL_MIN_ACCUM_ALPHA /* use alpha buffer with most bits (> MIN_ACCUM_ALPHA bits) */ }; #define wxGLCanvasName _T("GLCanvas")