Skip to content

Commit

Permalink
[medAbstractData]: add drivers capable of on offscreen rendering in g…
Browse files Browse the repository at this point in the history
…enerateThumbnailInGuiThread
  • Loading branch information
paulineMig authored and MERLE Mathilde committed Oct 28, 2022
1 parent ba40aa4 commit 47f04d6
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 47f04d6

Please sign in to comment.