mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 17:43:02 +00:00
Try to fix C89 build
This commit is contained in:
parent
4a9325d01d
commit
da0abc3126
@ -1080,10 +1080,11 @@ void video_shader_write_conf_cgp(config_file_t *conf,
|
|||||||
enum rarch_shader_type video_shader_parse_type(const char *path,
|
enum rarch_shader_type video_shader_parse_type(const char *path,
|
||||||
enum rarch_shader_type fallback)
|
enum rarch_shader_type fallback)
|
||||||
{
|
{
|
||||||
|
enum rarch_shader_type shader_type = RARCH_SHADER_NONE;
|
||||||
|
|
||||||
if (!path)
|
if (!path)
|
||||||
return fallback;
|
return fallback;
|
||||||
|
|
||||||
enum rarch_shader_type shader_type = RARCH_SHADER_NONE;
|
|
||||||
switch (msg_hash_to_file_type(
|
switch (msg_hash_to_file_type(
|
||||||
msg_hash_calculate(path_get_extension(path))))
|
msg_hash_calculate(path_get_extension(path))))
|
||||||
{
|
{
|
||||||
@ -1106,7 +1107,6 @@ enum rarch_shader_type video_shader_parse_type(const char *path,
|
|||||||
|
|
||||||
enum gfx_ctx_api api = video_context_driver_get_api();
|
enum gfx_ctx_api api = video_context_driver_get_api();
|
||||||
|
|
||||||
|
|
||||||
switch (api)
|
switch (api)
|
||||||
{
|
{
|
||||||
case GFX_CTX_OPENGL_API:
|
case GFX_CTX_OPENGL_API:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user