X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01a33e96707668beb5612d69d508d8556a2285a7..bb69632a56a827bed4cfae842bfffa88259ac1aa:/src/osx/glcanvas_osx.cpp diff --git a/src/osx/glcanvas_osx.cpp b/src/osx/glcanvas_osx.cpp index 154d6ba4ce..5d2c0cd9ed 100644 --- a/src/osx/glcanvas_osx.cpp +++ b/src/osx/glcanvas_osx.cpp @@ -167,7 +167,7 @@ bool wxGLCanvasBase::IsExtensionSupported(const char *extension) WXGLDestroyPixelFormat(fmt); WXGLDestroyContext(ctx); - return IsExtensionInList(extensions, extension); + return IsExtensionInList(extensions.ToAscii(), extension); } // ----------------------------------------------------------------------------