summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2010-01-10 18:07:28 -0800
committerCorbin Simpson <[email protected]>2010-01-10 23:15:05 -0800
commit47f59cfc8eba6574c9ca0ae8799e8fbd9b393fb7 (patch)
tree7bda6b969c2fbc8e7a28a7102546848c249c3cd7 /src/gallium/drivers/r300/r300_context.h
parente7d760ff0974aa6eb53fc43ec8f796b4e2410365 (diff)
r300g: Atomize viewport.
Goddammit, some of these hax are really annoying.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index e8c56bbf874..70b381fe74b 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -156,7 +156,6 @@ struct r300_ztop_state {
#define R300_NEW_VERTEX_FORMAT 0x04000000
#define R300_NEW_VERTEX_SHADER 0x08000000
#define R300_NEW_VERTEX_SHADER_CONSTANTS 0x10000000
-#define R300_NEW_VIEWPORT 0x20000000
#define R300_NEW_QUERY 0x40000000
#define R300_NEW_KITCHEN_SINK 0x7fffffff
@@ -308,7 +307,7 @@ struct r300_context {
/* Vertex shader. */
struct r300_vertex_shader* vs;
/* Viewport state. */
- struct r300_viewport_state* viewport_state;
+ struct r300_atom viewport_state;
/* ZTOP state. */
struct r300_atom ztop_state;