mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Add glFinish() before unmapping the surface
cherry picked from rellla
22590848da
This commit is contained in:
parent
5653e31466
commit
6044db40f3
@ -616,6 +616,7 @@ void cOglFb::BindWrite(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void cOglFb::Unbind(void) {
|
void cOglFb::Unbind(void) {
|
||||||
|
glFinish();
|
||||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||||
glBindTexture(GL_TEXTURE_2D, 0);
|
glBindTexture(GL_TEXTURE_2D, 0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user