mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
runtime VAO close (#5840)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user