Curtis L. Olson writes:
>Melchior FRANZ writes:
>> * Norman Vine -- Tuesday 23 July 2002 21:44:
>> > >   glPopAttrib();
>> > >+  glPolygonOffset(0, 0);
>> > >   glDisable(GL_POLYGON_OFFSET_FILL);
>> [...]
>> > Does this slightly different code work for you
>> [...]
>> >   glPushAttrib( GL_COLOR_BUFFER_BIT | GL_ENABLE_BIT | GL_POLYGON_BIT |
>> > GL_LIGHTING_BIT
>> >            | GL_TEXTURE_BIT | GL_PIXEL_MODE_BIT );
>> 
>> No. I had already tried this before I sent the patch. The PolygonOffset
>> is obvioulsy not saved/restored via GL_POLYGON_BIT, at least 
>not by my
>> driver implementation, which should be quite recent (SuSE 8.0).
>
>Yes, I looked through the redbook and PolygonOffset does not look like
>something that is saved, even if we did a glPushAttrib( ALL )

OK I wasn't sure....

Bit of a bummer in that you can't push and pop that like the rest
of the 'states' though.

Probably not worth the effort keeping track of the 'offset' ouselves
but we might need to someday if and/or when the scenery gets 
more complex.

Thanks for testing this

Norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to