diff options
author | Jon Taylor <[email protected]> | 2000-01-07 08:34:43 +0000 |
---|---|---|
committer | Jon Taylor <[email protected]> | 2000-01-07 08:34:43 +0000 |
commit | c6c06c92b2b85cd0401fd107c825829a39d186be (patch) | |
tree | f164cb8deabb86838e59193b495e68201346a80b /src/mesa/drivers/ggi/default/stubs.c | |
parent | 3c3533c5c8070fcca25247945cebedea60616082 (diff) |
* Fixups to the GGIMesa code to reflect the recent DD API changes
* Added a new GGIMesa debugging-print subsystem
Diffstat (limited to 'src/mesa/drivers/ggi/default/stubs.c')
-rw-r--r-- | src/mesa/drivers/ggi/default/stubs.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/ggi/default/stubs.c b/src/mesa/drivers/ggi/default/stubs.c index aa3e6c98b8e..5c7a0ff5920 100644 --- a/src/mesa/drivers/ggi/default/stubs.c +++ b/src/mesa/drivers/ggi/default/stubs.c @@ -325,6 +325,10 @@ void GGIupdate_state(GLcontext *ctx) void GGItriangle_flat(GLcontext *ctx,GLuint v0,GLuint v1,GLuint v2,GLuint pv) { +#define INTERP_Z 1 +#define INTERP_RGB 1 +#define INTERP_ALPHA 1 + #define SETUP_CODE \ GLubyte r = VB->ColorPtr->data[pv][0]; \ GLubyte g = VB->ColorPtr->data[pv][1]; \ @@ -335,7 +339,7 @@ void GGItriangle_flat(GLcontext *ctx,GLuint v0,GLuint v1,GLuint v2,GLuint pv) #define INNER_LOOP(LEFT,RIGHT,Y) \ ggiDrawHLine(VIS,LEFT,FLIP(Y),RIGHT-LEFT); -#include "tritemp.h" +#include "tritemp.h" } |