From d294c349d5758e80d1fc99c57a0ad49a844a2823 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sun, 16 May 2010 02:41:29 +0100 Subject: [PATCH] sw/wrapper: Make sure targets are textures --- src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2