diff options
author | Luca Barbieri <[email protected]> | 2010-04-15 09:04:20 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-20 12:04:09 +0200 |
commit | 7f15dca6d963b0a69131e8761c477064dba49307 (patch) | |
tree | a6573a4ac7415626801ff21537d684cb4b9b3a0e /src/mesa/state_tracker/st_texture.c | |
parent | 96a82cc314667542b7e046311595f58b01704205 (diff) |
mesa/st: use PIPE_TEXTURE_RECT for GL_TEXTURE_RECTANGLE
Diffstat (limited to 'src/mesa/state_tracker/st_texture.c')
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index add6e949dfb..c6cf2ba061b 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -64,7 +64,7 @@ st_texture_create(struct st_context *st, struct pipe_resource pt, *newtex; struct pipe_screen *screen = st->pipe->screen; - assert(target <= PIPE_TEXTURE_CUBE); + assert(target < PIPE_MAX_TEXTURE_TYPES); assert(width0 > 0); assert(height0 > 0); assert(depth0 > 0); |