mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-21 00:45:23 +01:00
Implement Vsync for SDL device (#16683)
This commit is contained in:
@@ -779,6 +779,8 @@ void CIrrDeviceSDL::createDriver()
|
||||
}
|
||||
|
||||
ContextManager = new video::CSDLManager(this);
|
||||
ContextManager->initialize(CreationParams, {});
|
||||
|
||||
switch (CreationParams.DriverType) {
|
||||
case video::EDT_OPENGL:
|
||||
VideoDriver = video::createOpenGLDriver(CreationParams, FileSystem, ContextManager);
|
||||
|
||||
Reference in New Issue
Block a user