Fix struct/class mismatch.
Change-Id: I282c9d9e10b0783cc10d32de031a30d07b802a55 Reviewed-on: http://codereview.qt-project.org/6610 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>bb10
parent
28c0b26fb7
commit
30cb91e17d
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue