diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index f4de6283f..3e3e23375 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -467,7 +467,7 @@ static size_t gr_numportalcullsectors = 0; // Lighting // ========================================================================== -static boolean HWR_UseShader(void) +boolean HWR_UseShader(void) { return (cv_grshaders.value && gr_shadersavailable); } diff --git a/src/hardware/hw_main.h b/src/hardware/hw_main.h index 2027e7f6f..ef211eb8b 100644 --- a/src/hardware/hw_main.h +++ b/src/hardware/hw_main.h @@ -89,7 +89,7 @@ void HWR_AddCommands(void); void HWR_SetTransform(float fpov, player_t *player); void HWR_ClearClipper(void); -static boolean HWR_UseShader(void); +boolean HWR_UseShader(void); boolean HWR_ShouldUsePaletteRendering(void); boolean HWR_PalRenderFlashpal(void);