diff options
author | Roland Scheidegger <[email protected]> | 2007-01-09 14:42:22 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2007-01-09 14:42:22 +0100 |
commit | 96c5db5f7ae2cb9d98f534285c34217ce9c2abf3 (patch) | |
tree | 60d85fd1e4d144fb94c5429bba2af060828ad306 /src/mesa/main/polygon.c | |
parent | dfabf9660751f0d7cfc7cad6539af4d7ccd9147e (diff) |
put back missing Driver.PolygonMode call (bug 9578)
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r-- | src/mesa/main/polygon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index 814f7ec5faa..fd02e5a652d 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 |