BC_PBuffer::BC_PBuffer(int w, int h) { reset(); this->w = w; this->h = h; create_pbuffer(w, h); }
void VFrame::enable_opengl() { create_pbuffer(); if(pbuffer) { pbuffer->enable_opengl(); } }