mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Cleanup UI for source info, cleanup code
This commit is contained in:
@@ -141,7 +141,9 @@ void CloneSource::setActive (bool on)
|
||||
|
||||
void CloneSource::update(float dt)
|
||||
{
|
||||
if (active_ && !paused_ && origin_ && cloningsurface_ != nullptr) {
|
||||
Source::update(dt);
|
||||
|
||||
if (!paused_ && origin_ && cloningsurface_ != nullptr) {
|
||||
|
||||
double now = g_timer_elapsed (timer_, NULL) ;
|
||||
|
||||
@@ -179,10 +181,7 @@ void CloneSource::update(float dt)
|
||||
|
||||
// update the source surface to be rendered
|
||||
texturesurface_->setTextureIndex( stack_[read_index_]->texture() );
|
||||
|
||||
}
|
||||
|
||||
Source::update(dt);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user