X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0643d43cad854f8d1b5588bb293c992d573b2a25..86033c4b6f77916326ab7e04fb96b4e12ba5afbd:/include/wx/glcanvas.h?ds=sidebyside diff --git a/include/wx/glcanvas.h b/include/wx/glcanvas.h index 751cd4f2e5..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") @@ -60,6 +60,8 @@ enum #include "wx/mac/glcanvas.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/glcanvas.h" +#else +#error "wxGLCanvas not supported in this wxWidgets port" #endif #include "wx/app.h"