summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2009-09-06 15:10:59 +0200
committerNicolai Hähnle <nhaehnle@gmail.com>2009-09-06 15:14:22 +0200
commit1ddb22675c123fc955ad3ab46bba45d3330d2ec4 (patch)
tree88a7d6b5b9eb72cf7d571243a6e2e7a8dc7e7c82 /src/gallium/drivers/r300/r300_context.h
parent4b01e6f614052e48971f2b2ff474fb66afc4f752 (diff)
r300g: Fix a number of warnings
Seriously guys....
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index cd7b36b467..6c5914baa3 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -211,10 +211,7 @@ struct r300_vertex_format {
int fs_tab[16];
};
-static struct pipe_viewport_state r300_viewport_identity = {
- .scale = {1.0, 1.0, 1.0, 1.0},
- .translate = {0.0, 0.0, 0.0, 0.0},
-};
+extern struct pipe_viewport_state r300_viewport_identity;
struct r300_context {
/* Parent class */