vo_opengl: silence an INVALID_ENUM error with GLES2
Signed-off-by: wm4 <wm4@nowhere>
This commit is contained in:
1 parent
f6dac5d884
commit
ec4bbbb69b
1 file changed
+2
-1
@@ -1930,7 +1930,8 @@ void gl_video_upload_image(struct gl_video *p, struct mp_image *mpi)
|
||||
plane_ptr, mpi2.stride[n], 0, 0, plane->w, plane->h, 0);
|
||||
}
|
||||
gl->ActiveTexture(GL_TEXTURE0);
|
||||
gl->BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
|
||||
if (pbo)
|
||||
gl->BindBuffer(GL_PIXEL_UNPACK_BUFFER, 0);
|
||||
|
||||
p->have_image = true;
|
||||
talloc_free(mpi);
|
||||
|
||||
Reference in new issue
Block a user