aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvfragprog.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-25 15:59:48 +0000
committerBrian Paul <[email protected]>2004-08-25 15:59:48 +0000
commita6c423d95663cfd8601cf84e10e8e1b12fa6ef15 (patch)
treee4d68d47d99c2f747619829a488dd0b6ba5cf361 /src/mesa/shader/nvfragprog.h
parent866286936ac34070826382f1d1cd28b613dd4bd1 (diff)
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
Diffstat (limited to 'src/mesa/shader/nvfragprog.h')
-rw-r--r--src/mesa/shader/nvfragprog.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/nvfragprog.h b/src/mesa/shader/nvfragprog.h
index ae26a7b5743..8f02f228770 100644
--- a/src/mesa/shader/nvfragprog.h
+++ b/src/mesa/shader/nvfragprog.h
@@ -62,6 +62,7 @@
/* Fragment program instruction opcodes */
enum fp_opcode {
+ FP_OPCODE_INVALID = -1, /* Force signed enum */
FP_OPCODE_ABS = 1000, /* ARB_f_p only */
FP_OPCODE_ADD,
FP_OPCODE_CMP, /* ARB_f_p only */