Skip to content

Commit

Permalink
Cleaned up, fixed broken settings panel comboboxes on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Jan 19, 2025
1 parent 2c2051f commit 1166495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Libraries/JUCE
8 changes: 3 additions & 5 deletions Source/NVGSurface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,13 @@ bool NVGSurface::makeContextActive()
// No need to make context active with Metal, so just check if we have initialised and return that
return getView() != nullptr && nvg != nullptr && mnvgDevice(nvg) != nullptr;
#else
bool ret = false;
if (glContext) {
ret = glContext->makeActive();

if (glContext && glContext->makeActive()) {
if (renderThroughImage)
updateWindowContextVisibility();
return true;
}

return ret;
return false;
#endif
}

Expand Down

0 comments on commit 1166495

Please sign in to comment.