aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Dergachev <[email protected]>2005-01-30 22:04:40 +0000
committerVladimir Dergachev <[email protected]>2005-01-30 22:04:40 +0000
commit0cd936c01ff0c65f58cf8c4e5b7200879de4a9f3 (patch)
treea1e0337df5eada8245c8ff62312d512d7ce31dd8
parentb55117042fb0efbff17931af5d4b38e6b28d06af (diff)
struct ati_fragment_shader was not defined anywhere, define it to get r300_vertexprog.c to compile.
-rw-r--r--src/mesa/drivers/dri/r300/r300_vertexprog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_vertexprog.c b/src/mesa/drivers/dri/r300/r300_vertexprog.c
index 50a816c6d41..094032d870a 100644
--- a/src/mesa/drivers/dri/r300/r300_vertexprog.c
+++ b/src/mesa/drivers/dri/r300/r300_vertexprog.c
@@ -10,6 +10,9 @@
#define FLAG_MASK (1<<31)
#define OPN(operator, ip, op) {#operator, VP_OPCODE_##operator, ip, op}
+#warning "This is just a hack to get everything to compile"
+struct ati_fragment_shader {};
+
struct{
char *name;
int opcode;