OpenSiv3D
OpenSiv3D copied to clipboard
Graphics::SetVSyncEnabled(false); が効かないことがある
reported by: https://twitter.com/discosaan/status/1443243848528842754
原因と思われる v0.6.1 → v0.6.2 の変更: 3f96e87
近いテスト環境 (i7-8550U + Intel UHD Graphics 620) で再現せず。OS やドライバの更新で直る可能性があり。 必要な場合、次のようなエンジン設定の変更がワークアラウンド。
# include <Siv3D.hpp> // OpenSiv3D v0.6.2
//SIV3D_SET(EngineOption::Renderer::OpenGL); // Direct3D 11 の代わりに OpenGL を使用
// または
//SIV3D_SET(EngineOption::D3D11Driver::WARP); // CPU による Direct3D 11 レンダリングを使用
void Main()
{
Graphics::SetVSyncEnabled(false);
while (System::Update())
{
ClearPrint();
Print << Profiler::FPS();
}
}