Updated BufferOgl implementation