From: Stefan Csomor Date: Thu, 27 Jan 2011 12:38:24 +0000 (+0000) Subject: fixing return type X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/afc67820efad2ebd8c9b5d554ab572003743f08d fixing return type git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/carbon/glcanvas.cpp b/src/osx/carbon/glcanvas.cpp index f8483e844e..d281274cda 100644 --- a/src/osx/carbon/glcanvas.cpp +++ b/src/osx/carbon/glcanvas.cpp @@ -214,7 +214,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList) if ( !attribList[arg++] ) break; - return false; + return NULL; } data[p++] = AGL_SAMPLE_BUFFERS_ARB; @@ -231,7 +231,7 @@ WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList) if ( !attribList[arg++] ) break; - return false; + return NULL; } data[p++] = AGL_SAMPLES_ARB;