void VFrame::create_pbuffer()
{
- if(pbuffer &&
- pbuffer->window_id != BC_WindowBase::get_synchronous()->current_window->get_id())
+ if( pbuffer && (pbuffer->w != get_w() || pbuffer->h != get_h() ||
+ pbuffer->window_id != BC_WindowBase::get_synchronous()->current_window->get_id() ) )
{
delete pbuffer;
pbuffer = 0;