add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types
authorBrian <brian.paul@tungstengraphics.com>
Wed, 12 Dec 2007 19:59:45 +0000 (12:59 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 12 Dec 2007 19:59:45 +0000 (12:59 -0700)
src/mesa/pipe/i915simple/i915_context.c

index a08cf5087ee0b9e6e55844c768697f30de6607ee..0e3d6d64e45b541adf1cc0254283e6fb43dc0df3 100644 (file)
@@ -69,6 +69,7 @@ i915_is_format_supported( struct pipe_context *pipe,
    };
    static const enum pipe_format screen_surface_supported[] = {
       PIPE_FORMAT_A8R8G8B8_UNORM,
+      PIPE_FORMAT_R5G6B5_UNORM,
       PIPE_FORMAT_NONE  /* list terminator */
    };
    const enum pipe_format *list;