Skip to content

Commit

Permalink
* menu_shader.c - cleanup
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
inactive123 committed Mar 1, 2018
1 parent 8b8b08a commit 7da491d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions griffin/griffin.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
#define CINTERFACE
#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)
#define HAVE_COMPRESSION 1
#endif
Expand Down
4 changes: 0 additions & 4 deletions griffin/griffin_cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
* 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)
#define HAVE_COMPRESSION 1
#endif
Expand Down
2 changes: 1 addition & 1 deletion menu/menu_shader.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ void menu_shader_manager_apply_changes(void)
}

/* Fall-back */
shader_type = video_shader_parse_type("", DEFAULT_SHADER_TYPE);
shader_type = DEFAULT_SHADER_TYPE;

if (shader_type == RARCH_SHADER_NONE)
{
Expand Down

0 comments on commit 7da491d

Please sign in to comment.