X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fgwindowgui.C;h=aaea761e5457cf82678b0efa29dd219875ac4218;hp=d01268618d80f17887547e1f04ad357d3a0f59b9;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hpb=28600526f736ffd4f104f29495a4bb36497e1ea8 diff --git a/cinelerra-5.1/cinelerra/gwindowgui.C b/cinelerra-5.1/cinelerra/gwindowgui.C index d0126861..aaea761e 100644 --- a/cinelerra-5.1/cinelerra/gwindowgui.C +++ b/cinelerra-5.1/cinelerra/gwindowgui.C @@ -190,8 +190,10 @@ GWindowColorButton::GWindowColorButton(GWindowToggle *auto_toggle, int x, int y, { this->auto_toggle = auto_toggle; this->color = 0; - for( int i=0; i<3; ++i ) - vframes[i] = new VFrame(w, w, BC_RGBA8888, -1); + for( int i=0; i<3; ++i ) { + vframes[i] = new VFrame(w, w, BC_RGBA8888); + vframes[i]->clear_frame(); + } } GWindowColorButton::~GWindowColorButton()