X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fguicast%2Fvframe3d.C;h=65d9d5ce7485e29b0c0b996cc0bc1093331e3d6a;hp=65eb1f3e92ff6a5def475444ac0b9eec810b859a;hb=d684013dedfefefcb8ca4bbea527382c91521532;hpb=02a79c110b1bce1d500849c82b2098863cd60424 diff --git a/cinelerra-5.1/guicast/vframe3d.C b/cinelerra-5.1/guicast/vframe3d.C index 65eb1f3e..65d9d5ce 100644 --- a/cinelerra-5.1/guicast/vframe3d.C +++ b/cinelerra-5.1/guicast/vframe3d.C @@ -151,8 +151,8 @@ void VFrame::to_texture() 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;