Revert "Disable the EGL render thread on Wayland"
This reverts commit dcc567ebda.
This commit is contained in:
parent
0455063854
commit
43e3679297
2 changed files with 0 additions and 8 deletions
|
|
@ -747,13 +747,6 @@ bool EGLRenderer::specialize() {
|
|||
return err == GL_NO_ERROR;
|
||||
}
|
||||
|
||||
bool EGLRenderer::isRenderThreadSupported()
|
||||
{
|
||||
// libdecor may try to draw CSD on our window surface which will race with
|
||||
// our rendering code here, so we must not use the render thread on wayland.
|
||||
return strcmp(SDL_GetCurrentVideoDriver(), "wayland") != 0;
|
||||
}
|
||||
|
||||
void EGLRenderer::renderFrame(AVFrame* frame)
|
||||
{
|
||||
EGLImage imgs[EGL_MAX_PLANES];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue