*/
+#include <stdio.h>
+#include "c99_math.h"
#include "main/imports.h"
#include "main/mtypes.h"
#include "glxheader.h"
return (swrast_tri_func) NULL;
if (ctx->Polygon.SmoothFlag)
return (swrast_tri_func) NULL;
- if (ctx->Texture._EnabledUnits)
+ if (ctx->Texture._MaxEnabledTexImageUnit != -1)
return (swrast_tri_func) NULL;
if (swrast->_RasterMask & MULTI_DRAW_BIT)
return (swrast_tri_func) NULL;