Enable transparent resizing and display changes for supported renderers
This commit is contained in:
parent
481f23b6e9
commit
2a05b890d8
14 changed files with 116 additions and 4 deletions
|
|
@ -492,3 +492,9 @@ bool SdlRenderer::testRenderFrame(AVFrame* frame)
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
bool SdlRenderer::notifyWindowChanged(PWINDOW_STATE_CHANGE_INFO info)
|
||||
{
|
||||
// We can transparently handle size and display changes
|
||||
return !(info->stateChangeFlags & ~(WINDOW_STATE_CHANGE_SIZE | WINDOW_STATE_CHANGE_DISPLAY));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue