RetroArch/gfx/drivers/gx2_shaders
Nathan Strong 9b2d4236ad WIIU: Clean up a bunch of compiler warnings
== DETAILS
These changes fall into a few broad categories:

1. Explicitly undefine things we want to re-define due to conflicts with
   the version of devkitpro we're using
2. Clean up hex format specifiers to use `%lx` or `%lX` when working with
   long integers
3. Move variables inside the ifdef they're used in to squelch "unused variable"
   messages
4. Add parenthesis to make Wii U shader declarations stop complaining

And then there's a weird "misleading indent" warning that I fixed by just
rewriting a block of code to use a switch statement instead of if-then-else.

These changes work fine on Wii U, but we'll need to keep an eye on CI/CD to see
if other platform builds break.
2021-09-25 13:25:39 -07:00
..
bokeh.c Clean up white space. 2019-02-03 16:00:50 -08:00
bokeh.frag Remove trailing blank lines. 2019-01-17 19:39:38 -08:00
bokeh.vert (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
frame.c WIIU: Clean up a bunch of compiler warnings 2021-09-25 13:25:39 -07:00
frame.h (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
menu_shaders.h Squeeze extra blank lines with cat(1). 2019-01-08 11:04:58 -08:00
ribbon.c WIIU: Clean up a bunch of compiler warnings 2021-09-25 13:25:39 -07:00
ribbon.frag (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
ribbon.vert (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
ribbon_simple.c Squeeze extra blank lines with cat(1). 2019-01-08 11:04:58 -08:00
ribbon_simple.frag (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
ribbon_simple.vert (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
snow.c Clean up white space. 2019-02-03 16:00:50 -08:00
snow.frag Remove trailing blank lines. 2019-01-17 19:39:38 -08:00
snow.vert (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
snow_simple.c Squeeze extra blank lines with cat(1). 2019-01-08 11:04:58 -08:00
snow_simple.frag Remove trailing blank lines. 2019-01-17 19:39:38 -08:00
snow_simple.vert (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
snowflake.c Squeeze extra blank lines with cat(1). 2019-01-08 11:04:58 -08:00
snowflake.frag Remove trailing blank lines. 2019-01-17 19:39:38 -08:00
snowflake.vert (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
sprite.c WIIU: Clean up a bunch of compiler warnings 2021-09-25 13:25:39 -07:00
sprite.h (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00
tex.c WIIU: Clean up a bunch of compiler warnings 2021-09-25 13:25:39 -07:00
tex.h (WIIU) add remaining menu shaders. 2018-01-12 02:54:45 +01:00