Qt 4.8
Classes | Functions
qgl_qpa.cpp File Reference
#include <QApplication>
#include <QtGui/private/qapplication_p.h>
#include <QPixmap>
#include <QDebug>
#include <QtGui/QPlatformWindow>
#include "qgl.h"
#include "qgl_p.h"

Go to the source code of this file.

Classes

class  QGLTemporaryContextPrivate
 

Functions

void qDeleteQGLContext (void *handle)
 

Function Documentation

◆ qDeleteQGLContext()

void qDeleteQGLContext ( void *  handle)

Definition at line 150 of file qgl_qpa.cpp.

Referenced by QGLWidget::event().

151 {
152  QGLContext *context = static_cast<QGLContext *>(handle);
153  delete context;
154 }
The QGLContext class encapsulates an OpenGL rendering context.
Definition: qgl.h:310