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

14 lines
229 B
Plaintext
Raw Permalink Normal View History

/// @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;
}