projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae1bfb6
)
intel: Fall back on glBitmap with fog enabled.
author
Eric Anholt
<eric@anholt.net>
Fri, 3 Jul 2009 02:21:22 +0000
(19:21 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 3 Jul 2009 02:31:51 +0000
(19:31 -0700)
We would have to build the program with the appropriate fog mode, and
also supply the fog coordinate if appropriate.
Bug #19413.
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
b/src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
index e678cd2c26f489f9bceb4a52a3c57c8ecb6e8f6d..0e8ec92f0cb1e65be80251d3f5168ef7315b9765 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
+++ b/
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
@@
-411,6
+411,12
@@
intel_texture_bitmap(GLcontext * ctx,
return GL_FALSE;
}
+ if (ctx->Fog.Enabled) {
+ if (INTEL_DEBUG & DEBUG_FALLBACKS)
+ fprintf(stderr, "glBitmap() fallback: fog\n");
+ return GL_FALSE;
+ }
+
/* Check that we can load in a texture this big. */
if (width > (1 << (ctx->Const.MaxTextureLevels - 1)) ||
height > (1 << (ctx->Const.MaxTextureLevels - 1))) {