summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-05-16 02:41:29 +0100
committerJakob Bornecrantz <[email protected]>2010-05-16 12:22:19 +0100
commitd294c349d5758e80d1fc99c57a0ad49a844a2823 (patch)
tree2ad0f00cbfead13cdd614af86bb95414166714c3 /src
parent2db4ee0438fd828b378276e3d8b4498fc886ae14 (diff)
sw/wrapper: Make sure targets are textures
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c1
1 files changed, 1 insertions, 0 deletions
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;