GPUDevice: Add ExecuteAndWaitForGPUIdle()
This commit is contained in:
@ -582,6 +582,12 @@ std::string OpenGLDevice::GetDriverInfo() const
|
||||
gl_shading_language_version);
|
||||
}
|
||||
|
||||
void OpenGLDevice::ExecuteAndWaitForGPUIdle()
|
||||
{
|
||||
// Could be glFinish(), but I'm afraid for mobile drivers...
|
||||
glFlush();
|
||||
}
|
||||
|
||||
void OpenGLDevice::SetSwapInterval()
|
||||
{
|
||||
if (m_window_info.type == WindowInfo::Type::Surfaceless)
|
||||
|
||||
Reference in New Issue
Block a user