diff options
author | Eric Anholt <[email protected]> | 2019-07-01 14:29:45 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-07-16 12:51:13 -0700 |
commit | 93a7651d8d04ad2a53a4d10fb66590c85d199018 (patch) | |
tree | a66e2c130e6a2b16f177524655edfafde9672b83 /src/mesa/swrast/s_depth.c | |
parent | 20ce56ad5bf88788d7ef3df0e53dda9ec72602e0 (diff) |
mesa: Rename gl_pack typedefs to mesa_pack.
These are packing mesa formats, not a GL format/type.
Reviewed-by: Thomas Helland <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_depth.c')
-rw-r--r-- | src/mesa/swrast/s_depth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_depth.c b/src/mesa/swrast/s_depth.c index de7f14a4fc8..6bc737c7956 100644 --- a/src/mesa/swrast/s_depth.c +++ b/src/mesa/swrast/s_depth.c @@ -262,7 +262,7 @@ put_z32_values(struct gl_context *ctx, struct gl_renderbuffer *rb, } } else { - gl_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format); + mesa_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format); const GLint bpp = _mesa_get_format_bytes(rb->Format); const GLint rowStride = srb->RowStride; for (i = 0; i < count; i++) { @@ -379,7 +379,7 @@ _swrast_depth_test_span(struct gl_context *ctx, SWspan *span) } else { /* horizontal row */ - gl_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format); + mesa_pack_uint_z_func packZ = _mesa_get_pack_uint_z_func(rb->Format); GLubyte *dst = zStart; GLuint i; for (i = 0; i < count; i++) { |