summaryrefslogtreecommitdiff
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-01-09 14:42:22 +0100
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-01-09 14:42:22 +0100
commit96c5db5f7ae2cb9d98f534285c34217ce9c2abf3 (patch)
tree60d85fd1e4d144fb94c5429bba2af060828ad306 /src/mesa/main/polygon.c
parentdfabf9660751f0d7cfc7cad6539af4d7ccd9147e (diff)
put back missing Driver.PolygonMode call (bug 9578)
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r--src/mesa/main/polygon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index 814f7ec5fa..fd02e5a652 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -166,6 +166,9 @@ _mesa_PolygonMode( GLenum face, GLenum mode )
_mesa_error( ctx, GL_INVALID_ENUM, "glPolygonMode(face)" );
return;
}
+
+ if (ctx->Driver.PolygonMode)
+ ctx->Driver.PolygonMode(ctx, face, mode);
}
#if _HAVE_FULL_GL