From a0a0973cb2f42ba00dbf010ca0e9bbe7da2f1306 Mon Sep 17 00:00:00 2001 From: Yun Hsiao Wu Date: Wed, 25 Nov 2020 00:10:40 +0800 Subject: [PATCH] minor --- native/cocos/renderer/gfx-gles3/GLES3Context.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/cocos/renderer/gfx-gles3/GLES3Context.mm b/native/cocos/renderer/gfx-gles3/GLES3Context.mm index 8a3fa49ffa..e75f5eb6a3 100644 --- a/native/cocos/renderer/gfx-gles3/GLES3Context.mm +++ b/native/cocos/renderer/gfx-gles3/GLES3Context.mm @@ -217,7 +217,7 @@ void GLES3Context::present() } } -bool GLES3Context::MakeCurrentImpl() +bool GLES3Context::MakeCurrentImpl(bool bound) { return [EAGLContext setCurrentContext: bound ? (EAGLContext*)_eaglContext : nil]; }