From c94996f0570c729b9cb2b55329ababb9877fbbea Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 4 Jan 2011 08:28:16 -0700 Subject: [PATCH] st/mesa: skip glDrawPixels/glBitmap-related code for ES build Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32560 --- src/mesa/state_tracker/st_program.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index e9e05acf41c..cabec14e0e4 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -409,6 +409,7 @@ st_translate_fragment_program(struct st_context *st, assert(!(key->bitmap && key->drawpixels)); +#if FEATURE_drawpix if (key->bitmap) { /* glBitmap drawing */ struct gl_fragment_program *fp; @@ -434,6 +435,7 @@ st_translate_fragment_program(struct st_context *st, } stfp = st_fragment_program(fp); } +#endif if (!stfp->tgsi.tokens) { /* need to translate Mesa instructions to TGSI now */ -- 2.30.2