mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-25 19:42:20 +00:00
Only reload shaders if on opengl
This commit is contained in:
parent
dbafac0c02
commit
b6bf989c25
1 changed files with 2 additions and 0 deletions
|
|
@ -383,9 +383,11 @@ void gfx_delete_all() {
|
|||
}
|
||||
|
||||
void gfx_reload_shaders() {
|
||||
#ifdef RAPI_GL
|
||||
gfx_remove_all_color_combiners();
|
||||
RAPI.remove_shaders();
|
||||
smlua_call_event_hooks(HOOK_ON_REFRESH_SHADERS);
|
||||
#endif
|
||||
}
|
||||
|
||||
struct CCFeatures *gfx_color_combiner_get_features(struct ColorCombiner *cc) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue