* menu_shader.c - cleanup

* Nothing uses HAVE_SHADERS define anymore, so get rid of it* Nothing
uses HAVE_SHADERS define anymore, so get rid of it* Nothing uses
HAVE_SHADERS define anymore, so get rid of it* Nothing uses HAVE_SHADERS
define anymore, so get rid of it* Nothing uses HAVE_SHADERS define
anymore, so get rid of it* Nothing uses HAVE_SHADERS define anymore, so
get rid of it* Nothing uses HAVE_SHADERS define anymore, so get rid of
it* Nothing uses HAVE_SHADERS define anymore, so get rid of it
This commit is contained in:
twinaphex 2018-03-01 17:19:19 +01:00
parent 8b8b08aefd
commit 7da491d009
3 changed files with 1 additions and 9 deletions

View File

@ -17,10 +17,6 @@
#define CINTERFACE #define CINTERFACE
#define HAVE_IBXM 1 #define HAVE_IBXM 1
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
#define HAVE_SHADERS 1
#endif
#if defined(HAVE_ZLIB) || defined(HAVE_7ZIP) #if defined(HAVE_ZLIB) || defined(HAVE_7ZIP)
#define HAVE_COMPRESSION 1 #define HAVE_COMPRESSION 1
#endif #endif

View File

@ -13,10 +13,6 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
#define HAVE_SHADERS 1
#endif
#if defined(HAVE_ZLIB) || defined(HAVE_7ZIP) #if defined(HAVE_ZLIB) || defined(HAVE_7ZIP)
#define HAVE_COMPRESSION 1 #define HAVE_COMPRESSION 1
#endif #endif

View File

@ -530,7 +530,7 @@ void menu_shader_manager_apply_changes(void)
} }
/* Fall-back */ /* Fall-back */
shader_type = video_shader_parse_type("", DEFAULT_SHADER_TYPE); shader_type = DEFAULT_SHADER_TYPE;
if (shader_type == RARCH_SHADER_NONE) if (shader_type == RARCH_SHADER_NONE)
{ {