Remove many dependencies on mesa headers.
To build with mesa, need -DMESA in makefile/config file.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user