From: Roland Scheidegger Date: Tue, 9 Jan 2007 13:42:22 +0000 (+0100) Subject: put back missing Driver.PolygonMode call (bug 9578) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96c5db5f7ae2cb9d98f534285c34217ce9c2abf3;p=mesa.git put back missing Driver.PolygonMode call (bug 9578) --- 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