aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-29 18:43:24 +0000
committermarha <marha@users.sourceforge.net>2011-01-29 18:43:24 +0000
commitcacf23d832a26e35851c9cc666304ac72cf8fe34 (patch)
tree025ba144495071f7066d80cb6400cd990276b754 /mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
parentc4d402326310d620866b1ad82ef0691526e2c311 (diff)
downloadvcxsrv-cacf23d832a26e35851c9cc666304ac72cf8fe34.tar.gz
vcxsrv-cacf23d832a26e35851c9cc666304ac72cf8fe34.tar.bz2
vcxsrv-cacf23d832a26e35851c9cc666304ac72cf8fe34.zip
libXext libfontenc libXau libX11 libXinerama mesa libXdmcp git update 28 jan 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_cb_drawpixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c b/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
index 8d3eece4d..56c7e8581 100644
--- a/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/mesalib/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -343,7 +343,7 @@ alloc_texture(struct st_context *st, GLsizei width, GLsizei height,
struct pipe_resource *pt;
pt = st_texture_create(st, st->internal_target, texFormat, 0,
- width, height, 1, PIPE_BIND_SAMPLER_VIEW);
+ width, height, 1, 1, PIPE_BIND_SAMPLER_VIEW);
return pt;
}