Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Script_shader_replace_simple

(view raw script w/o annotations or w/e)
1
if (!global.g_shader_replace_simple_ready)
2
{
3
    var l_info = os_get_info();
4
    switch (shader_replace_simple_init_raw(ds_map_find_value(l_info, "video_d3d11_device"), ds_map_find_value(l_info, "video_d3d11_context"), "2.3.4.442"))
5
    {
6
        case -1:
7
            show_error("You are trying to use a GMS1 shader_replace_simple DLL with GMS2.", 0);
8
            break;
9
        case 0:
10
            show_debug_message("shader_replace_simple DLL failed to load.");
11
    }
12
}
13
return shader_replace_simple_raw(argument0, argument1, argument2);