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