mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Change windowHandle to windowId when EVENT_DESTROY_WINDOW (#12848)
* Change windowHandle to windowId when EVENT_DESTROY_WINDOW * fix: resolution issue on iOS
This commit is contained in:
@@ -42,7 +42,7 @@ void SystemWindowManager::swapWindows() {
|
||||
}
|
||||
|
||||
ISystemWindow *SystemWindowManager::createWindow(const ISystemWindowInfo &info) {
|
||||
if (!info.externalHandle || !isExternalHandleExist(info.externalHandle)) {
|
||||
if (!isExternalHandleExist(info.externalHandle)) {
|
||||
ISystemWindow *window = BasePlatform::getPlatform()->createNativeWindow(_nextWindowId, info.externalHandle);
|
||||
if (window) {
|
||||
if (!info.externalHandle) {
|
||||
|
||||
Reference in New Issue
Block a user