On Thu, Aug 23, 2012 at 7:26 PM, Brian Paul <[email protected]> wrote:
> From: Brian Paul <[email protected]>
>
> This fixes some failures when GL_ARB_texture_rg is not supported.
> ---
>  tests/texturing/copyteximage.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/tests/texturing/copyteximage.c b/tests/texturing/copyteximage.c
> index 8a35703..f54e8d9 100644
> --- a/tests/texturing/copyteximage.c
> +++ b/tests/texturing/copyteximage.c
> @@ -130,7 +130,10 @@ supported_format(GLenum format)
>         case GL_RGB16F:
>         case GL_RGB32F:
>                 return piglit_is_extension_supported("GL_ARB_texture_float");
> +       case GL_RED:
>         case GL_RG:
> +       case GL_COMPRESSED_RED:
> +       case GL_COMPRESSED_RG:
>                 return piglit_is_extension_supported("GL_ARB_texture_rg");
>         case GL_DEPTH_COMPONENT32F:
>                 return 
> piglit_is_extension_supported("GL_ARB_depth_buffer_float");
> --
> 1.7.4.1
>
> _______________________________________________
> Piglit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit

Reviewed-by: Anuj Phogat <[email protected]>
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to