put back missing Driver.PolygonMode call (bug 9578)
authorRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 9 Jan 2007 13:42:22 +0000 (14:42 +0100)
committerRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 9 Jan 2007 13:42:22 +0000 (14:42 +0100)
src/mesa/main/polygon.c

index 814f7ec5faa0bc4ebdcc0d38626c03f2d5194dec..fd02e5a652d89252351a4363b8fac28f173d7f54 100644 (file)
@@ -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