]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/cube/cube.cpp
Disable test for setting the creation time under Unix.
[wxWidgets.git] / samples / opengl / cube / cube.cpp
index 17318f6f4fe332a1c14ca21e4df3263d4cad5547..cda5cca7616d11ea7b597a391b7c85f9e8827c9a 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "cube.h"
 
-#if !defined(__WXMSW__) && !defined(__WXPM__)
+#ifndef wxHAS_IMAGES_IN_RESOURCES
     #include "../../sample.xpm"
 #endif
 
@@ -138,6 +138,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);