From: Jakob Bornecrantz Date: Sun, 16 May 2010 01:41:29 +0000 (+0100) Subject: sw/wrapper: Make sure targets are textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d294c349d5758e80d1fc99c57a0ad49a844a2823;p=mesa.git sw/wrapper: Make sure targets are textures --- diff --git a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c index d4d4270eb86..b63a5c0c0ed 100644 --- a/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c +++ b/src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c @@ -145,6 +145,7 @@ wsw_dt_create(struct sw_winsys *ws, * XXX Why don't we just get the template. */ memset(&templ, 0, sizeof(templ)); + templ.target = PIPE_TEXTURE_2D; templ.width0 = width; templ.height0 = height; templ.format = format;