diff options
author | Alan Hourihane <[email protected]> | 2004-04-26 10:10:22 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2004-04-26 10:10:22 +0000 |
commit | 462183fe4cb6df6d90632d9e2cee881c8d26b1cb (patch) | |
tree | 0fb5d1c17d80026bec0fe3c2e0449fe30ea9e69e /src/mesa/drivers/dri/ffb/ffb_vbtmp.h | |
parent | 08fa6de85035c428d77cb88b11a4638b706794b5 (diff) |
bring over build fixes from stable branch
Diffstat (limited to 'src/mesa/drivers/dri/ffb/ffb_vbtmp.h')
-rw-r--r-- | src/mesa/drivers/dri/ffb/ffb_vbtmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/ffb/ffb_vbtmp.h b/src/mesa/drivers/dri/ffb/ffb_vbtmp.h index 5baa4eb03e0..a1d1254d979 100644 --- a/src/mesa/drivers/dri/ffb/ffb_vbtmp.h +++ b/src/mesa/drivers/dri/ffb/ffb_vbtmp.h @@ -3,7 +3,9 @@ static void TAG(emit)(GLcontext *ctx, GLuint start, GLuint end) { ffbContextPtr fmesa = FFB_CONTEXT(ctx); +#if defined(VB_DEBUG) || (IND & (FFB_VB_XYZ_BIT | FFB_VB_RGBA_BIT)) struct vertex_buffer *VB = &TNL_CONTEXT(ctx)->vb; +#endif #if (IND & (FFB_VB_RGBA_BIT)) GLfloat (*col0)[4]; GLuint col0_stride; |