// Must before ShowWindow() is called, otherwise fail in release mode mOpenGlPainter.Init(hWnd); mOpenGlPainter.Resize(); // Display the window ShowWindow(hWnd, nCmdShow); UpdateWindow(hWnd);
否则Release模式会间断性出错, 不知为什么
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3