// Class: openfl._internal.stage3D.opengl.GLStage3D

var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this

$global.Object.defineProperty(exports, "__esModule", {value: true});

var __map_reserved = {};

// Imports

var $hxClasses = require("./../../../../hxClasses_stub").default;
var $import = require("./../../../../import_stub").default;
function openfl__$internal_stage3D_GLUtils() {return require("./../../../../openfl/_internal/stage3D/GLUtils");}

// Constructor

var GLStage3D = function(){}

// Meta

GLStage3D.__name__ = ["openfl","_internal","stage3D","opengl","GLStage3D"];
GLStage3D.prototype = {
	
};
GLStage3D.prototype.__class__ = $hxClasses["openfl._internal.stage3D.opengl.GLStage3D"] = GLStage3D;

// Init



// Statics

GLStage3D.render = function(stage3D,renderer) {
	if(stage3D.context3D != null) {
		renderer.__setBlendMode(null);
		if(renderer.__currentShader != null) {
			renderer.setShader(null);
			if(stage3D.context3D.__program != null) {
				stage3D.context3D.__program.__use();
			}
		}
	}
	if((openfl__$internal_stage3D_GLUtils().default).debug) {
		renderer.gl.getError();
	}
}


// Export

exports.default = GLStage3D;