From: Brian Date: Wed, 12 Dec 2007 19:59:45 +0000 (-0700) Subject: add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=829099210ba442e7035659e8db3c2e059e059c24;p=mesa.git add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types --- diff --git a/src/mesa/pipe/i915simple/i915_context.c b/src/mesa/pipe/i915simple/i915_context.c index a08cf5087ee..0e3d6d64e45 100644 --- a/src/mesa/pipe/i915simple/i915_context.c +++ b/src/mesa/pipe/i915simple/i915_context.c @@ -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;