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.c | |
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.c')
-rw-r--r-- | src/mesa/state_tracker/st_texture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_texture.c b/src/mesa/state_tracker/st_texture.c index c7d28eeca20..a2bdf846caf 100644 --- a/src/mesa/state_tracker/st_texture.c +++ b/src/mesa/state_tracker/st_texture.c @@ -61,8 +61,8 @@ target_to_target(GLenum target) 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, |