]> git.saurik.com Git - wxWidgets.git/commitdiff
(blind) compilation fix for wxCocoa
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Nov 2006 12:59:38 +0000 (12:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 6 Nov 2006 12:59:38 +0000 (12:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/opengl/isosurf/isosurf.cpp

index 8e5aec635773e2eadc192cdafb9f57aeda88dd39..781d2a8a16ebd9c647dfb235055f1da32fa4076b 100644 (file)
@@ -272,7 +272,7 @@ bool MyApp::OnInit()
     int gl_attrib[20] = { WX_GL_RGBA, WX_GL_MIN_RED, 1, WX_GL_MIN_GREEN, 1,
         WX_GL_MIN_BLUE, 1, WX_GL_DEPTH_SIZE, 1,
         WX_GL_DOUBLEBUFFER,
     int gl_attrib[20] = { WX_GL_RGBA, WX_GL_MIN_RED, 1, WX_GL_MIN_GREEN, 1,
         WX_GL_MIN_BLUE, 1, WX_GL_DEPTH_SIZE, 1,
         WX_GL_DOUBLEBUFFER,
-#  ifdef __WXMAC__
+#  if defined(__WXMAC__) || defined(__WXCOCOA__)
         GL_NONE };
 #  else
         None };
         GL_NONE };
 #  else
         None };