1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00
openrw/rwviewer/ViewerWidget.cpp
2014-02-10 12:41:05 +00:00

20 lines
333 B
C++

#include "ViewerWidget.hpp"
void ViewerWidget::initializeGL()
{
QGLWidget::initializeGL();
}
void ViewerWidget::resizeGL(int w, int h)
{
QGLWidget::resizeGL(w, h);
}
void ViewerWidget::paintGL()
{
glClearColor(0.3f, 0.3f, 0.3f, 1.f);
glClear(GL_COLOR_BUFFER_BIT);
renderText(5, height() - 5, "Testing, 1 2 3 ...");
}