summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@vmware.com>2010-02-04 21:35:28 +0100
committerRoland Scheidegger <sroland@vmware.com>2010-02-04 21:35:28 +0100
commit68f93ea3eb83cfad014b8ec93cec3564c1aa9833 (patch)
treea563ebec246a2e741750a8b5198da180e9479e17 /src/gallium/drivers/nv40
parent2c326e72664e65166c68b027b26aaf373f3be36d (diff)
gallium: add point_quad_rasterization bit to rasterizer state
This determines if points should be rasterized according to GL point rules or as normal quads (GL point sprites / d3d points / d3d point sprites).
Diffstat (limited to 'src/gallium/drivers/nv40')
-rw-r--r--src/gallium/drivers/nv40/nv40_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_state.c b/src/gallium/drivers/nv40/nv40_state.c
index a5c5e291f3..5084c48eeb 100644
--- a/src/gallium/drivers/nv40/nv40_state.c
+++ b/src/gallium/drivers/nv40/nv40_state.c
@@ -401,7 +401,7 @@ nv40_rasterizer_state_create(struct pipe_context *pipe,
}
so_method(so, curie, NV40TCL_POINT_SPRITE, 1);
- if (cso->sprite_coord_enable) {
+ if (cso->point_quad_rasterization) {
unsigned psctl = (1 << 0), i;
for (i = 0; i < 8; i++) {