diff options
author | Thomas Hellström <[email protected]> | 2004-12-18 12:16:12 +0000 |
---|---|---|
committer | Thomas Hellström <[email protected]> | 2004-12-18 12:16:12 +0000 |
commit | 6cec977773c87ac95ca66089eb50850c9f0a27ed (patch) | |
tree | 7d901f27d22a7365e9c80e256a5ca2aa0cdaf04a /src | |
parent | 3d0487980196d386e75235fe9be0513546083613 (diff) |
Unichrome DRI driver:
Fix for proplem where polygons partly outside the drawing window would get
one vertex clamped to the opposite window side. This bug could also cause
a hardlock. (Bugzilla #2066, Yann Vernier)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_vb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_vb.c b/src/mesa/drivers/dri/unichrome/via_vb.c index f0a0edfbd15..dd3027ca76e 100644 --- a/src/mesa/drivers/dri/unichrome/via_vb.c +++ b/src/mesa/drivers/dri/unichrome/via_vb.c @@ -72,7 +72,7 @@ static struct { #define GET_VIEWPORT_MAT() VIA_CONTEXT(ctx)->ViewportMatrix.m #define GET_TEXSOURCE(n) n #define GET_VERTEX_FORMAT() VIA_CONTEXT(ctx)->vertexSize -#define GET_VERTEX_SIZE() VIA_CONTEXT(ctx)->vertexSize +#define GET_VERTEX_SIZE() (1<<GET_VERTEX_STRIDE_SHIFT()) #define GET_VERTEX_STORE() VIA_CONTEXT(ctx)->verts #define GET_VERTEX_STRIDE_SHIFT() VIA_CONTEXT(ctx)->vertexStrideShift #define GET_UBYTE_COLOR_STORE() &VIA_CONTEXT(ctx)->UbyteColor |