diff options
author | Jakob Bornecrantz <[email protected]> | 2010-05-16 02:41:29 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-05-16 12:22:19 +0100 |
commit | d294c349d5758e80d1fc99c57a0ad49a844a2823 (patch) | |
tree | 2ad0f00cbfead13cdd614af86bb95414166714c3 | |
parent | 2db4ee0438fd828b378276e3d8b4498fc886ae14 (diff) |
sw/wrapper: Make sure targets are textures
-rw-r--r-- | src/gallium/winsys/sw/wrapper/wrapper_sw_winsys.c | 1 |
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; |