Unbind PBO after binding it for initial setup
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user