Skip to content

Commit

Permalink
do not make newly created non-window contexts current
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rauch committed Aug 23, 2018
1 parent f343fa5 commit fef2865
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/display/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ WindowInterface& BindToContext(std::string name)
{
std::shared_ptr<PangolinGl> newcontext(new PangolinGl());
RegisterNewContext(name, newcontext);
newcontext->MakeCurrent();
return *(newcontext.get());
}else{
context_to_bind->MakeCurrent();
Expand Down

0 comments on commit fef2865

Please sign in to comment.