Skip to content

Commit

Permalink
Merge pull request #1052 from mathildemerle/orphanPopup
Browse files Browse the repository at this point in the history
[medAbstractData]: add drivers capable of on offscreen rendering in generateThumbnailInGuiThread - master
  • Loading branch information
Florent2305 authored Oct 28, 2022
2 parents ba40aa4 + 47f04d6 commit 5106d4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layers/legacy/medCoreLegacy/data/medAbstractData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ QImage medAbstractData::generateThumbnailInGuiThread(QSize size)
offscreenCapable = true;
#elif defined(Q_OS_LINUX)
if (gpu.vendor.toLower().contains("nvidia")
|| gpu.vendor.toLower().contains("intel"))
|| gpu.vendor.toLower().contains("intel")
|| gpu.vendor.toLower().contains("mesa/x.org"))
{
offscreenCapable = true;
}
Expand Down

0 comments on commit 5106d4e

Please sign in to comment.