Unbind PBO after binding it for initial setup

This commit is contained in:
johni0702
2015-12-11 10:15:44 +01:00
parent a6bee7c223
commit 46467dc861

View File

@@ -48,6 +48,8 @@ public class PixelBufferObject {
} else { } else {
glBufferData(GL_PIXEL_PACK_BUFFER, size, usage.gl15); glBufferData(GL_PIXEL_PACK_BUFFER, size, usage.gl15);
} }
unbind();
} }
private int getHandle() { private int getHandle() {