Resubmit buffer if necessary.

This commit is contained in:
Armin Novak 2019-01-18 14:39:14 +01:00
parent 0b17406eec
commit a5cee1751f

View File

@ -641,6 +641,7 @@ UwacReturnCode UwacWindowSubmitBuffer(UwacWindow* window, bool copyContentForNex
if (window->pendingBuffer) if (window->pendingBuffer)
{ {
/* we already have a pending frame, don't do anything*/ /* we already have a pending frame, don't do anything*/
UwacSubmitBufferPtr(window, window->pendingBuffer);
return UWAC_SUCCESS; return UWAC_SUCCESS;
} }