mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Merge pull request #10 from 9000h/Add-glFinish()-before-unmapping-the-surface
Add glFinish() before unmapping the surface
This commit is contained in:
commit
557c17982f
@ -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