mirror of https://github.com/snes9xgit/snes9x.git
win32: map pbo with GL_READ_WRITE
This commit is contained in:
parent
ac60d9117e
commit
b43623fa7a
|
@ -428,7 +428,7 @@ void COpenGL::Render(SSurface Src)
|
|||
|
||||
if(pboFunctionsLoaded) {
|
||||
glBindBuffer(GL_PIXEL_UNPACK_BUFFER, drawBuffer);
|
||||
Dst.Surface = (unsigned char *)glMapBuffer(GL_PIXEL_UNPACK_BUFFER,GL_WRITE_ONLY);
|
||||
Dst.Surface = (unsigned char *)glMapBuffer(GL_PIXEL_UNPACK_BUFFER,GL_READ_WRITE);
|
||||
} else {
|
||||
Dst.Surface = noPboBuffer;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue