diff options
author | Dylan Baker <[email protected]> | 2018-09-14 12:57:32 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2020-04-21 11:09:04 -0700 |
commit | 8e3696137f2cb7b4f5a3824f26186ecbb06f9282 (patch) | |
tree | 4494df8d138aaf2bab2feafa832f68e9fdf9bfb1 /src/mesa/main/pack.c | |
parent | 289f02d1d5990e052e21eb250f6d40b47d6eb12f (diff) |
remove final imports.h and imports.c bits
This moves the fi_types to a new mesa_private.h and removes the
imports.c file. The vast majority of this patch is just removing
pound includes of imports.h and fixing up the recursive includes.
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
Diffstat (limited to 'src/mesa/main/pack.c')
-rw-r--r-- | src/mesa/main/pack.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 818fcf85384..223bbb5adc1 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main/pack.c @@ -46,12 +46,12 @@ #include "glheader.h" #include "enums.h" #include "image.h" -#include "util/imports.h" + #include "macros.h" #include "mtypes.h" #include "pack.h" #include "pixeltransfer.h" -#include "util/imports.h" + #include "glformats.h" #include "format_utils.h" #include "format_pack.h" @@ -1263,7 +1263,7 @@ _mesa_unpack_image( GLuint dimensions, for (i = 0; i < width; i++) { if (*s & srcMask) { *d |= dstMask; - } + } if (srcMask == 128) { srcMask = 1; s++; @@ -1305,7 +1305,7 @@ _mesa_unpack_image( GLuint dimensions, } else { dstMask = dstMask >> 1; - } + } } } } |