projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a10207
)
st/mesa: skip glDrawPixels/glBitmap-related code for ES build
author
Brian Paul
<brianp@vmware.com>
Tue, 4 Jan 2011 15:28:16 +0000
(08:28 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 4 Jan 2011 15:28:17 +0000
(08:28 -0700)
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32560
src/mesa/state_tracker/st_program.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_program.c
b/src/mesa/state_tracker/st_program.c
index e9e05acf41cfb3581c9e20038e27f48368602ad0..cabec14e0e48f8aea5205021560f46b1c362d734 100644
(file)
--- 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 */