aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_cb_bitmap.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_bitmap.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_bitmap.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_cb_bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_bitmap.c b/mesalib/src/mesa/state_tracker/st_cb_bitmap.c
index a3e39dd49..ddd130a81 100644
--- a/mesalib/src/mesa/state_tracker/st_cb_bitmap.c
+++ b/mesalib/src/mesa/state_tracker/st_cb_bitmap.c
@@ -276,7 +276,7 @@ make_bitmap_texture(struct gl_context *ctx, GLsizei width, GLsizei height,
* Create texture to hold bitmap pattern.
*/
pt = st_texture_create(st, st->internal_target, st->bitmap.tex_format,
- 0, width, height, 1,
+ 0, width, height, 1, 1,
PIPE_BIND_SAMPLER_VIEW);
if (!pt) {
_mesa_unmap_pbo_source(ctx, unpack);
@@ -559,7 +559,7 @@ reset_cache(struct st_context *st)
cache->texture = st_texture_create(st, PIPE_TEXTURE_2D,
st->bitmap.tex_format, 0,
BITMAP_CACHE_WIDTH, BITMAP_CACHE_HEIGHT,
- 1,
+ 1, 1,
PIPE_BIND_SAMPLER_VIEW);
}