From b18715fea310978683ba8eacdfcef6f746d0b2c4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 15 Sep 2004 14:49:33 +0000 Subject: [PATCH] replace glNormal3f(v) with GL_CALL(Normal3f)(v), etc (Andreas Stenglein --- src/mesa/drivers/dri/ffb/ffb_vtxfmt.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/dri/ffb/ffb_vtxfmt.c b/src/mesa/drivers/dri/ffb/ffb_vtxfmt.c index 09cb99dc1f1..279cda7b371 100644 --- a/src/mesa/drivers/dri/ffb/ffb_vtxfmt.c +++ b/src/mesa/drivers/dri/ffb/ffb_vtxfmt.c @@ -161,13 +161,13 @@ static void choose_normals(void) static void ffb_choose_Normal3f(GLfloat x, GLfloat y, GLfloat z) { choose_normals(); - glNormal3f(x, y, z); + GL_CALL(Normal3f)(x, y, z); } static void ffb_choose_Normal3fv(const GLfloat *v) { choose_normals(); - glNormal3fv(v); + GL_CALL(Normal3fv)(v); } /* Vertex functions: */ @@ -267,13 +267,13 @@ static void ffb_do_fallback(GLcontext *ctx) * correctly: */ if (fmesa->imm.prim != PRIM_OUTSIDE_BEGIN_END ) - glBegin(fmesa->imm.prim); + GL_CALL(Begin)(fmesa->imm.prim); if (ctx->Light.Enabled) { - glColor4fv(ctx->Current.Color); /* Catch ColorMaterial */ - glNormal3fv(current->normal); + GL_CALL(Color4fv)(ctx->Current.Color); /* Catch ColorMaterial */ + GL_CALL(Normal3fv)(current->normal); } else { - glColor4fv(current->color); + GL_CALL(Color4fv)(current->color); } } -- 2.30.2