projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c20df0a
)
intel: Fix fbo_firecube regression with FBconfigs change.
author
Eric Anholt
<eric@anholt.net>
Wed, 4 Feb 2009 18:27:13 +0000
(10:27 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 4 Feb 2009 18:31:04 +0000
(10:31 -0800)
By selecting a 4444 texture format due to a bad test, we hit the
intel_update_wrapper error path, and despite the appearance of error handling
in it and its callers, the desired behavior (software fallback) doesn't occur.
src/mesa/drivers/dri/intel/intel_tex_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_tex_format.c
b/src/mesa/drivers/dri/intel/intel_tex_format.c
index 5e418ac446352654388deeb33dfb7676aad64af0..2715a540d02799728f6e65c67a072dbffc847e62 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_tex_format.c
+++ b/
src/mesa/drivers/dri/intel/intel_tex_format.c
@@
-16,7
+16,7
@@
intelChooseTextureFormat(GLcontext * ctx, GLint internalFormat,
GLenum format, GLenum type)
{
struct intel_context *intel = intel_context(ctx);
- const GLboolean do32bpt = (intel->ctx.Visual.rgbBits
== 32
);
+ const GLboolean do32bpt = (intel->ctx.Visual.rgbBits
>= 24
);
switch (internalFormat) {
case 4: