Fix struct/class mismatch.

Change-Id: I282c9d9e10b0783cc10d32de031a30d07b802a55
Reviewed-on: http://codereview.qt-project.org/6610
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
bb10
Friedemann Kleint 2011-10-13 14:29:30 +02:00 committed by Qt by Nokia
parent 28c0b26fb7
commit 30cb91e17d
1 changed files with 4 additions and 3 deletions

View File

@ -84,16 +84,17 @@ QT_BEGIN_NAMESPACE
Reimplement this function in a subclass to indicate what format the glContext actually has.
*/
struct QPlatformOpenGLContextPrivate
class QPlatformOpenGLContextPrivate
{
public:
QPlatformOpenGLContextPrivate() : context(0) {}
QOpenGLContext *context;
};
QPlatformOpenGLContext::QPlatformOpenGLContext()
: d_ptr(new QPlatformOpenGLContextPrivate)
{
Q_D(QPlatformOpenGLContext);
d->context = 0;
}
QPlatformOpenGLContext::~QPlatformOpenGLContext()