// Must before ShowWindow() is called, otherwise fail in release mode mOpenGlPainter.Init(hWnd); mOpenGlPainter.Resize(); // Display the window ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd);
否则Release模式会间断性出错, 不知为什么
Powered by: 博客园 Copyright © 2024 mrfangzheng Powered by .NET 9.0 on Kubernetes