koffice/krita/ui

Maciej Mrozowski reavertm at gmail.com
Mon Dec 7 04:14:12 CET 2009


SVN commit 1059624 by mmrozowski:

Fix building krita without OpenGL


CCMAIL: kimageshop at kde.org

 M  +4 -1      kis_3d_object_model.h  


--- trunk/koffice/krita/ui/kis_3d_object_model.h #1059623:1059624
@@ -55,8 +55,9 @@
     //void parseModel();
     void parseMaterial(const QString &fileName);
 
-
+#ifdef HAVE_OPENGL
     GLuint displayList();
+#endif // HAVE_OPENGL
 
 private:
     QString m_fileName;
@@ -71,7 +72,9 @@
     void debug(Material m);
 
     bool m_cached;
+#ifdef HAVE_OPENGL
     GLuint m_displayList;
+#endif // HAVE_OPENGL
 };
 
 #endif // KIS_3D_OBJECT_MODEL_H


More information about the kimageshop mailing list