diff options
author | Brian <[email protected]> | 2007-10-02 16:56:02 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-02 16:56:02 -0600 |
commit | ae28d19bbf527e50be9ff9e52cb69f6afdf1d506 (patch) | |
tree | 74b1fd1b478ffe1fd32eb218a38099b066c87f36 /src/mesa | |
parent | d781cdc8fadc802a1f2edbeb13ccb1ee768ce803 (diff) |
added MESA_FORMAT_Z16 in st_mesa_format_to_pipe_format(), for Glean
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 84e6a2d5fdc..8dd7df4495b 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -123,6 +123,8 @@ st_mesa_format_to_pipe_format(GLuint mesaFormat) return PIPE_FORMAT_U_L8; case MESA_FORMAT_I8: return PIPE_FORMAT_U_I8; + case MESA_FORMAT_Z16: + return PIPE_FORMAT_U_Z16; default: assert(0); return 0; |