diff options
author | Brian Paul <[email protected]> | 2011-01-28 20:25:26 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-01-28 20:25:26 -0700 |
commit | db3a8af7f900e4970ea18659e86a824b4ebdefc7 (patch) | |
tree | ba9c825a61044cd3aee8ae672750ecfad29eebcb /src/mesa/state_tracker/st_atom_pixeltransfer.c | |
parent | 2a18d1950c84c96d263cc8f15434502e03aeb1dc (diff) |
st/mesa: pass layers param to st_texture_create()
Diffstat (limited to 'src/mesa/state_tracker/st_atom_pixeltransfer.c')
-rw-r--r-- | src/mesa/state_tracker/st_atom_pixeltransfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_pixeltransfer.c b/src/mesa/state_tracker/st_atom_pixeltransfer.c index 378b30e57cc..739a2eaab7e 100644 --- a/src/mesa/state_tracker/st_atom_pixeltransfer.c +++ b/src/mesa/state_tracker/st_atom_pixeltransfer.c @@ -99,7 +99,7 @@ create_color_map_texture(struct gl_context *ctx) /* create texture for color map/table */ pt = st_texture_create(st, PIPE_TEXTURE_2D, format, 0, - texSize, texSize, 1, PIPE_BIND_SAMPLER_VIEW); + texSize, texSize, 1, 1, PIPE_BIND_SAMPLER_VIEW); return pt; } |