mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#656) Added text effect to effect generator
This commit is contained in:
@@ -167,12 +167,7 @@ RiuViewer::RiuViewer(const QGLFormat& format, QWidget* parent)
|
||||
// which solves the problem
|
||||
setContextMenuPolicy(Qt::PreventContextMenu);
|
||||
|
||||
cvf::ShaderProgram* textShaderProgram = NULL;
|
||||
if (format.directRendering())
|
||||
{
|
||||
textShaderProgram = cvfOpenGLContext()->resourceManager()->getLinkedTextShaderProgram(cvfOpenGLContext());
|
||||
}
|
||||
m_gridBoxGenerator = new RivGridBoxGenerator(textShaderProgram);
|
||||
m_gridBoxGenerator = new RivGridBoxGenerator;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user