disable vsync
This commit is contained in:
parent
00f5e71666
commit
10ee643a0c
1 changed files with 3 additions and 0 deletions
|
|
@ -158,6 +158,9 @@ $endif
|
|||
unreachable("failed to claim window for use with gpu: %s", sdl::get_error());
|
||||
}
|
||||
|
||||
// set swapchain parameters, like vsync
|
||||
sdl::set_gpu_swapchain_parameters(self.gpu, self.win, GPU_SWAPCHAINCOMPOSITION_SDR, GPU_PRESENTMODE_IMMEDIATE);
|
||||
|
||||
//
|
||||
// initialize the quad buffer
|
||||
// ==========================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue