runtime VAO close (#5840)

This commit is contained in:
ChiaNing
2019-12-04 18:25:54 +08:00
committed by pandamicro
parent 06ea953699
commit bb5934fcac
+1 -1
View File
@@ -373,7 +373,7 @@ export class WebGLGFXDevice extends GFXDevice {
this._features[GFXFeature.MSAA] = false;
if (this._OES_vertex_array_object) {
if (sys.platform !== sys.WECHAT_GAME || sys.os !== sys.OS_IOS) { this._useVAO = true; }
if ( !CC_RUNTIME_BASED && (sys.platform !== sys.WECHAT_GAME || sys.os !== sys.OS_IOS)) { this._useVAO = true; }
}
if (this._OES_element_index_uint) {