diff options
author | Luca Barbieri <[email protected]> | 2010-08-18 22:57:22 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-20 12:04:06 +0200 |
commit | 4a5acc0ec7d6d94ea2a73b3d8ee498f75e929a1c (patch) | |
tree | 11fdf5ba9553b19a2caaddbd521b73ecf86b38bc /src/gallium/state_trackers/dri/sw | |
parent | d4ec85e62423336d3cddc45f26bef6764f435a18 (diff) |
st/dri: use PIPE_TEXTURE_RECT if appropriate
Diffstat (limited to 'src/gallium/state_trackers/dri/sw')
-rw-r--r-- | src/gallium/state_trackers/dri/sw/drisw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/sw/drisw.c b/src/gallium/state_trackers/dri/sw/drisw.c index 249ccd7fcf6..04bba631aeb 100644 --- a/src/gallium/state_trackers/dri/sw/drisw.c +++ b/src/gallium/state_trackers/dri/sw/drisw.c @@ -216,7 +216,7 @@ drisw_allocate_textures(struct dri_drawable *drawable, } memset(&templ, 0, sizeof(templ)); - templ.target = PIPE_TEXTURE_2D; + templ.target = screen->target; templ.width0 = width; templ.height0 = height; templ.depth0 = 1; |