i915: Don't claim to support AL1616 when neither 830 nor 915 does it.

Fixes an abort in fbo-generatemipmap-formats.
This commit is contained in:
Eric Anholt
2011-01-07 16:13:12 -08:00
parent a7bf723056
commit 372dc4cd6c
+2 -1
View File
@@ -695,7 +695,8 @@ intelInitContext(struct intel_context *intel,
ctx->TextureFormatSupported[MESA_FORMAT_A8] = GL_TRUE;
ctx->TextureFormatSupported[MESA_FORMAT_I8] = GL_TRUE;
ctx->TextureFormatSupported[MESA_FORMAT_AL88] = GL_TRUE;
ctx->TextureFormatSupported[MESA_FORMAT_AL1616] = GL_TRUE;
if (intel->gen >= 4)
ctx->TextureFormatSupported[MESA_FORMAT_AL1616] = GL_TRUE;
ctx->TextureFormatSupported[MESA_FORMAT_S8_Z24] = GL_TRUE;
/*
* This was disabled in initial FBO enabling to avoid combinations