disable vsync
This commit is contained in:
parent
00f5e71666
commit
10ee643a0c
@ -158,6 +158,9 @@ $endif
|
|||||||
unreachable("failed to claim window for use with gpu: %s", sdl::get_error());
|
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
|
// initialize the quad buffer
|
||||||
// ==========================
|
// ==========================
|
||||||
|
Loading…
Reference in New Issue
Block a user