fix mask vframe setup, add unshared vframe constructor
[goodguy/history.git] / cinelerra-5.1 / cinelerra / gwindowgui.C
index b18920349d34ccb8516030ba3e63209a995c9a4c..aaea761e5457cf82678b0efa29dd219875ac4218 100644 (file)
@@ -191,7 +191,7 @@ 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);
+               vframes[i] = new VFrame(w, w, BC_RGBA8888);
                vframes[i]->clear_frame();
        }
 }