Changeset 2689 for trunk/src/opengl/glut/glut_shapes.c
- Timestamp:
- Feb 9, 2000, 9:51:20 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/glut/glut_shapes.c
r2595 r2689 1 1 /* $Id: glut_shapes.c,v 1.2 2000-02-09 08:46:16 jeroen Exp $ */ 2 2 /* Copyright (c) Mark J. Kilgard, 1994, 1997. */ 3 3 … … 70 70 { 71 71 QUAD_OBJ_INIT(); 72 gluQuadricDrawStyle(quadObj, GLU_LINE);73 gluQuadricNormals(quadObj, GLU_SMOOTH);72 gluQuadricDrawStyle(quadObj, (GLenum)GLU_LINE); 73 gluQuadricNormals(quadObj, (GLenum)GLU_SMOOTH); 74 74 /* If we ever changed/used the texture or orientation state 75 75 of quadObj, we'd need to change it to the defaults here … … 82 82 { 83 83 QUAD_OBJ_INIT(); 84 gluQuadricDrawStyle(quadObj, GLU_FILL);85 gluQuadricNormals(quadObj, GLU_SMOOTH);84 gluQuadricDrawStyle(quadObj, (GLenum)GLU_FILL); 85 gluQuadricNormals(quadObj, (GLenum)GLU_SMOOTH); 86 86 /* If we ever changed/used the texture or orientation state 87 87 of quadObj, we'd need to change it to the defaults here … … 95 95 { 96 96 QUAD_OBJ_INIT(); 97 gluQuadricDrawStyle(quadObj, GLU_LINE);98 gluQuadricNormals(quadObj, GLU_SMOOTH);97 gluQuadricDrawStyle(quadObj, (GLenum)GLU_LINE); 98 gluQuadricNormals(quadObj, (GLenum)GLU_SMOOTH); 99 99 /* If we ever changed/used the texture or orientation state 100 100 of quadObj, we'd need to change it to the defaults here … … 108 108 { 109 109 QUAD_OBJ_INIT(); 110 gluQuadricDrawStyle(quadObj, GLU_FILL);111 gluQuadricNormals(quadObj, GLU_SMOOTH);110 gluQuadricDrawStyle(quadObj, (GLenum)GLU_FILL); 111 gluQuadricNormals(quadObj, (GLenum)GLU_SMOOTH); 112 112 /* If we ever changed/used the texture or orientation state 113 113 of quadObj, we'd need to change it to the defaults here
Note:
See TracChangeset
for help on using the changeset viewer.