OSDN Git Service

r300: Corrected r300PointSize based on dumping the blob.
authorOliver McFadden <z3ro.geek@gmail.com>
Wed, 30 May 2007 03:15:52 +0000 (03:15 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Wed, 30 May 2007 03:19:26 +0000 (03:19 +0000)
The OpenGL specification also verifies the default point size should be 1.0.

src/mesa/drivers/dri/r300/r300_state.c

index d7d8914..e616326 100644 (file)
@@ -1916,7 +1916,7 @@ static void r300ResetHwState(r300ContextPtr r300)
 
        r300->hw.unk4214.cmd[1] = 0x00050005;
 
-       r300PointSize(ctx, 0.0);
+       r300PointSize(ctx, 1.0);
 
        r300->hw.unk4230.cmd[1] = 0x18000006;
        r300->hw.unk4230.cmd[2] = 0x00020006;