]> Pileus Git - grits/blobdiff - examples/plugin/teapot.c
Switch from GtkGLExt to internal OpenGL handling
[grits] / examples / plugin / teapot.c
index 60c52f43161063e7984a66686af65bc3497b7e8f..2a1201d9c02a0e53d17bdb60eceade1cbb0eaff8 100644 (file)
@@ -15,8 +15,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#include <gtk/gtkgl.h>
 #include <GL/gl.h>
+#include <GL/glut.h>
 
 #include <grits.h>
 
@@ -59,7 +59,7 @@ static void expose(GritsCallback *callback, GritsOpenGL *opengl, gpointer _teapo
        glRotatef(teapot->rotation, 1, 1, 0);
        glColor4f(0.9, 0.9, 0.7, 1.0);
        glDisable(GL_CULL_FACE);
-       gdk_gl_draw_teapot(TRUE, 0.25);
+       glutSolidTeapot(2.5);
 }