summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/buffers.c
diff options
context:
space:
mode:
authorRobert Ellison <[email protected]>2009-03-12 11:46:31 -0600
committerRobert Ellison <[email protected]>2009-03-12 11:58:43 -0600
commit29309b45b011b4c44721b8f7346272fb22a4d4c2 (patch)
treeaecdc5ec76d07c182b6ce7e7baf73deed80e06a3 /src/mesa/main/buffers.c
parenta9a214cc7fb59713f5fcbd207caf45becf1ec2b8 (diff)
i965: fix polygon stipple when rendering to FBO
The polygon stipple pattern, like the viewport and the polygon face orientation, must be inverted on the i965 when rendering to a FBO (which itself has an inverted pixel coordinate system compared to raw Mesa). In addition, the polygon stipple offset, which orients the stipple to the window system, disappears when rendering to an FBO (because the window system offset doesn't apply, and there's no associated FBO offset). With these fixes, the conform triangle and polygon stipple tests pass when rendering to texture.
Diffstat (limited to 'src/mesa/main/buffers.c')
0 files changed, 0 insertions, 0 deletions