* Hopefully I did THIS one right (used 'cvs update' to Merge)
[freeglut] / freeglut-1.3 / freeglut_teapot.c
index 03386b6..f855056 100644 (file)
@@ -80,7 +80,9 @@
 
 #include "../include/GL/freeglut.h"
 #include "freeglut_internal.h"
-
+#ifdef TARGET_HOST_WIN32
+#pragma warning ( once:4305 )
+#endif
 
 /* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
 
@@ -166,7 +168,7 @@ static void teapot( GLint grid, GLdouble scale, GLenum type )
 
     glPushMatrix();
     glRotatef(270.0, 1.0, 0.0, 0.0);
-    glScalef(0.5 * scale, 0.5 * scale, 0.5 * scale);
+    glScaled(0.5 * scale, 0.5 * scale, 0.5 * scale);
     glTranslatef(0.0, 0.0, -1.5);
 
     for (i = 0; i < 10; i++) {