intel: Fix fbo_firecube regression with FBconfigs change.
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.
This commit is contained in:
parent
c20df0ab4e
commit
b2e09910f6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue