X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97f851007c07fa09d5ee9b3e26a46fe29f2575b8..ef1a87f6064ea88a08ea76cc288007133180f46d:/samples/opengl/cube/cube.cpp diff --git a/samples/opengl/cube/cube.cpp b/samples/opengl/cube/cube.cpp index 17318f6f4f..f65ca2accb 100644 --- a/samples/opengl/cube/cube.cpp +++ b/samples/opengl/cube/cube.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: Vadim Zeitlin to use new wxGLCanvas API (2007-04-09) // Created: 04/01/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -34,7 +33,7 @@ #include "cube.h" -#if !defined(__WXMSW__) && !defined(__WXPM__) +#ifndef wxHAS_IMAGES_IN_RESOURCES #include "../../sample.xpm" #endif @@ -138,6 +137,7 @@ TestGLContext::TestGLContext(wxGLCanvas *canvas) SetCurrent(*canvas); // set up the parameters we want to use + glEnable(GL_CULL_FACE); glEnable(GL_DEPTH_TEST); glEnable(GL_LIGHTING); glEnable(GL_LIGHT0);