OpenSiv3D icon indicating copy to clipboard operation
OpenSiv3D copied to clipboard

Graphics::SetVSyncEnabled(false); が効かないことがある

Open Reputeless opened this issue 4 years ago • 1 comments

reported by: https://twitter.com/discosaan/status/1443243848528842754

原因と思われる v0.6.1 → v0.6.2 の変更: 3f96e87

Reputeless avatar Oct 01 '21 04:10 Reputeless

近いテスト環境 (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();
	}
}

Reputeless avatar Oct 01 '21 04:10 Reputeless