Brian Paul <[email protected]> writes:

> For formats such as GL_COMPRESSED_SRGB_S3TC_DXT1_EXT we need to
> have both the GL_EXT_texture_sRGB and GL_EXT_texture_compression_s3tc
> extensions.  This patch adds the missing check for the later.
>
> Found when checking out https://bugs.freedesktop.org/show_bug.cgi?id=65173

Ah, this patch was a bit confusing without the context of "if
(ctx->Extensions.EXT_texture_sRGB) {" wrapping the switch statement.

Reviewed-by: Eric Anholt <[email protected]>

On a similar note, looks like we're allowing a lot of extension-provided
L/LA/A/I formats on core.

Attachment: pgp7LXZUMrJpg.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to