summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_surface_formats.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_surface_formats.c b/src/mesa/drivers/dri/i965/brw_surface_formats.c
index ea6c5920fc1..cef4020d9ab 100644
--- a/src/mesa/drivers/dri/i965/brw_surface_formats.c
+++ b/src/mesa/drivers/dri/i965/brw_surface_formats.c
@@ -583,6 +583,9 @@ brw_init_surface_formats(struct brw_context *brw)
*/
render = BRW_SURFACEFORMAT_B8G8R8A8_UNORM;
break;
+ case BRW_SURFACEFORMAT_R8G8B8X8_UNORM:
+ render = BRW_SURFACEFORMAT_R8G8B8A8_UNORM;
+ break;
}
rinfo = &surface_formats[render];