diff options
author | Brian Paul <[email protected]> | 2004-09-15 14:49:33 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-09-15 14:49:33 +0000 |
commit | b18715fea310978683ba8eacdfcef6f746d0b2c4 (patch) | |
tree | 5334a9c867fffb88e6c0bb7d334eec7ea7dac2f0 /src/mesa/drivers | |
parent | d4aaa68979c96df01fbe7122a1dcd663ef83b441 (diff) |
replace glNormal3f(v) with GL_CALL(Normal3f)(v), etc (Andreas Stenglein
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/ffb/ffb_vtxfmt.c | 12 |
1 files 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); } } |