ludum-dare-22/scripts/d3d_end/d3d_end.gml

13 lines
245 B
Plaintext
Executable File

/// @description d3d - disable 3d
/// @param enable true if enabled, false if disabled
function d3d_end() {
var ret = global.__d3d;
global.__d3d = false;
gpu_set_ztestenable(false);
gpu_set_zwriteenable(false);
return ret;
}