diff options
author | Michel Dänzer <[email protected]> | 2008-01-04 17:06:55 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2008-01-04 18:21:45 +0100 |
commit | 1c5f27a18b775b3784fcd265d60e0affa0b31581 (patch) | |
tree | 8f9841014fdf5ddd0c4151c6ad1a0977170e6c79 /src/mesa/state_tracker/st_texture.h | |
parent | 6f012904318311207a20bbf586f1a9f9f8b7fc20 (diff) |
gallium: Make texture target an enum for better debuggability.
Also make enum pipe_format used in a couple more places.
Diffstat (limited to 'src/mesa/state_tracker/st_texture.h')
-rw-r--r-- | src/mesa/state_tracker/st_texture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_texture.h b/src/mesa/state_tracker/st_texture.h index 7524c219e06..d8b1bcad9d5 100644 --- a/src/mesa/state_tracker/st_texture.h +++ b/src/mesa/state_tracker/st_texture.h @@ -37,8 +37,8 @@ struct pipe_texture; extern struct pipe_texture * st_texture_create(struct st_context *st, - unsigned target, - unsigned format, + enum pipe_texture_target target, + enum pipe_format format, GLuint first_level, GLuint last_level, GLuint width0, |