Skip to content

Commit d42e6f2

Browse files
committed
fixed output window correct coloring
1 parent 6cf3477 commit d42e6f2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/objects/windowing/OutputWindow.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,14 +537,15 @@ void OutputWindow::drawInWindow(ofEventArgs &e){
537537
ofBackground(0);
538538

539539
ofPushStyle();
540-
ofSetColor(255);
541540
if(this->inletsConnected[0] && static_cast<ofTexture *>(_inletParams[0])->isAllocated()){
542541

543542
warpedTexture->begin();
544543
ofClear(0,0,0,255);
544+
ofSetColor(255);
545545
static_cast<ofTexture *>(_inletParams[0])->draw(0,0,this->output_width,this->output_height);
546546
warpedTexture->end();
547547

548+
ofSetColor(255);
548549
if(useMapping && isFullscreen){
549550
warpController->getWarp(0)->draw(warpedTexture->getTexture());
550551
}else{

0 commit comments

Comments
 (0)