diff options
author | Brian <[email protected]> | 2007-08-16 18:11:55 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-16 18:11:55 -0600 |
commit | 3fc926f3740da9ec27853d158243055f3cb43d43 (patch) | |
tree | 67b5f9e3b8945d45cac4776a1b5e1e4f122cf137 /src/mesa/pipe/softpipe/sp_prim_setup.c | |
parent | e3bdd66bf69fb12fa02d161989755944077b280d (diff) |
Remove many dependencies on mesa headers.
To build with mesa, need -DMESA in makefile/config file.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_prim_setup.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_prim_setup.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_prim_setup.c b/src/mesa/pipe/softpipe/sp_prim_setup.c index 9b91628aaf2..21c1032b137 100644 --- a/src/mesa/pipe/softpipe/sp_prim_setup.c +++ b/src/mesa/pipe/softpipe/sp_prim_setup.c @@ -40,6 +40,11 @@ #include "pipe/draw/draw_private.h" #include "pipe/p_util.h" +#ifndef MESA +#define FRAG_ATTRIB_WPOS 0 +#define FRAG_ATTRIB_MAX 13 +#endif + /** * Triangle edge info |