mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Add ifdefs around shader code
This commit is contained in:
parent
d1d3bd6e4b
commit
06c1fb2a5c
@ -562,10 +562,12 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data)
|
||||
draw->coords = (struct gfx_coords*)(&ca->coords);
|
||||
draw->matrix_data = NULL;
|
||||
|
||||
#if defined(HAVE_GLSL) || defined(HAVE_CG) || defined(HAVE_HLSL)
|
||||
shader_info.data = NULL;
|
||||
shader_info.idx = VIDEO_SHADER_MENU;
|
||||
|
||||
video_shader_driver_ctl(SHADER_CTL_USE, &shader_info);
|
||||
#endif
|
||||
|
||||
t += 0.01;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user