X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ed73c7363f16918bda418aa17baceb48222e69f..e4097f77c440b1f31a80fe273cc732c14d606096:/interface/wx/glcanvas.h?ds=sidebyside diff --git a/interface/wx/glcanvas.h b/interface/wx/glcanvas.h index aee4e0410e..49d120ef62 100644 --- a/interface/wx/glcanvas.h +++ b/interface/wx/glcanvas.h @@ -2,8 +2,7 @@ // Name: glcanvas.h // Purpose: interface of wxGLContext and wxGLCanvas // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -32,6 +31,9 @@ best to check your native platform's glcanvas header (on windows include/wx/msw/glcanvas.h) to see what features your native platform provides. + + wxHAS_OPENGL_ES is defined on platforms that only have this implementation + available (eg the iPhone) und don't support the full specification. @library{wxgl} @category{gl} @@ -134,7 +136,7 @@ enum /// 1 for multisampling support (antialiasing) WX_GL_SAMPLE_BUFFERS, - /// 4 for 2x2 antialising supersampling on most graphics cards + /// 4 for 2x2 antialiasing supersampling on most graphics cards WX_GL_SAMPLES }; @@ -212,7 +214,7 @@ public: constants. If a constant should be followed by a value, put it in the next array position. For example, WX_GL_DEPTH_SIZE should be followed by the value that indicates the number of bits for the - depth buffer, e.g: + depth buffer, e.g.: @code attribList[n++] = WX_GL_DEPTH_SIZE; attribList[n++] = 32; @@ -243,7 +245,7 @@ public: @return @true if attributes are supported. */ - static bool IsDisplaySupported(const int* attribList = NULL); + static bool IsDisplaySupported(const int* attribList); /** Returns true if the extension with given name is supported