mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Disable rendering of overlay items in software rendering (no shaders supported reported by OpenGL context)
p4#: 19222
This commit is contained in:
parent
32944e660c
commit
8957a92830
@ -405,6 +405,12 @@ cvf::Part* RIViewer::pickPointAndFace(int winPosX, int winPosY, uint* faceHit, c
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RIViewer::paintOverlayItems(QPainter* painter)
|
||||
{
|
||||
// No support for overlay items using SW rendering yet.
|
||||
if (!isShadersSupported())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
int columnWidth = 200;
|
||||
int margin = 5;
|
||||
int yPos = margin;
|
||||
|
Loading…
Reference in New Issue
Block a user