gmc-jam-7/scripts/d3d_start/d3d_start.gml

14 lines
229 B
Plaintext
Executable File

/// @description d3d - enable 3d
function d3d_start() {
var ret = global.__d3d;
global.__d3d = true;
//camera_apply(global.__d3dCamera);
gpu_set_ztestenable(true);
gpu_set_zwriteenable(true);
return ret;
}