Keith,

Playing with samples/logo I still found a problem with glPolygonMode
using GL_POINT or GL_LINE mode.

Run logo, press d, q, p, p, 2

Note that only a few lines are visible.

Press 1, note that only a few points are visible.

Resize the window.  Now all the points are drawn.  Press 2, all lines
are drawn.

When a window is resized, ctx->NewState |= NEW_ALL is executed.
Obviously that's forcing re-evaluation of polygon mode.

My fix in gl_PolygonMode() in polygon.c was to replace this:

   ctx->NewState |= NEW_POLYGON;

with this:

   ctx->NewState |= (NEW_POLYGON | NEW_RASTER_OPS);


I've checked in this change.  Just thought I'd run this past you in
case this sounds fishy.

-Brian

----------------------------------------------------------------------
Brian Paul        Avid Technology / Softimage      [EMAIL PROTECTED]


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to