From 96c5db5f7ae2cb9d98f534285c34217ce9c2abf3 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Tue, 9 Jan 2007 14:42:22 +0100 Subject: put back missing Driver.PolygonMode call (bug 9578) --- src/mesa/main/polygon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/main/polygon.c') 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 -- cgit v1.2.3