mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Removed includes of QOpenGLFunctions
This commit is contained in:
parent
6b8dfd3f7b
commit
6459548aba
@ -44,7 +44,6 @@
|
||||
#include <QPointer>
|
||||
#include <QEvent>
|
||||
#include <QOpenGLContext>
|
||||
#include <QOpenGLFunctions>
|
||||
#include <QPlatformSurfaceEvent>
|
||||
|
||||
namespace cvfqt {
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include "QMVWidget.h"
|
||||
|
||||
#include <QMouseEvent>
|
||||
#include <QOpenGLFunctions>
|
||||
#include <QPainter>
|
||||
|
||||
|
||||
@ -134,9 +133,8 @@ void QMVWidget::paintGL()
|
||||
else
|
||||
{
|
||||
// Reddish background for empty widgets
|
||||
QOpenGLFunctions* funcs = context()->functions();
|
||||
funcs->glClearColor(0.9f, 0.5f, 0.5f, 1.0f);
|
||||
funcs->glClear(GL_COLOR_BUFFER_BIT);
|
||||
glClearColor(0.9f, 0.5f, 0.5f, 1.0f);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
cvf::OpenGLUtils::popOpenGLState(currentOglContext);
|
||||
|
Loading…
Reference in New Issue
Block a user