Skip to content

Commit ba7f405

Browse files
committed
zap wrapper function
1 parent 4512269 commit ba7f405

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

lib/PDL/Graphics/OpenGLQ-sphere.c

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@
3030
#include <GL/gl.h>
3131
#endif
3232

33-
/* declare for drawing using the different OpenGL versions here so we can
34-
have a nice code order below */
35-
static void fghDrawGeometrySolid11(GLfloat *vertices, GLfloat *normals, GLfloat *textcs, GLsizei numVertices,
36-
GLuint *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart);
37-
3833
/* Drawing geometry:
3934
* Explanation of the functions has to be separate for the polyhedra and
4035
* the non-polyhedra (objects with a circular cross-section).
@@ -80,18 +75,6 @@ static void fghDrawGeometrySolid11(GLfloat *vertices, GLfloat *normals, GLfloat
8075
*/
8176
void fghDrawGeometrySolid(GLfloat *vertices, GLfloat *normals, GLfloat *textcs, GLsizei numVertices,
8277
GLuint *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart)
83-
{
84-
GLint attribute_v_coord, attribute_v_normal, attribute_v_texture;
85-
attribute_v_coord = attribute_v_normal = attribute_v_texture = -1;
86-
87-
{
88-
fghDrawGeometrySolid11(vertices, normals, textcs, numVertices,
89-
vertIdxs, numParts, numVertIdxsPerPart);
90-
}
91-
}
92-
93-
static void fghDrawGeometrySolid11(GLfloat *vertices, GLfloat *normals, GLfloat *textcs, GLsizei numVertices,
94-
GLuint *vertIdxs, GLsizei numParts, GLsizei numVertIdxsPerPart)
9578
{
9679
int i;
9780

0 commit comments

Comments
 (0)