diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-07 15:10:35 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2009-09-08 16:36:16 (GMT) |
commit | e3e7cf545116c194bd5cfe79b28ea37c8bf78219 (patch) | |
tree | 72696f91453009c79ac0729a07fd63f09b7bad15 /src/opengl/qglpaintdevice.cpp | |
parent | 4feed48fdd738ed99cba86a4214e238a3e7275ed (diff) | |
download | Qt-e3e7cf545116c194bd5cfe79b28ea37c8bf78219.zip Qt-e3e7cf545116c194bd5cfe79b28ea37c8bf78219.tar.gz Qt-e3e7cf545116c194bd5cfe79b28ea37c8bf78219.tar.bz2 |
Make QGLWindowSurface use new QGLPaintDevice API
Diffstat (limited to 'src/opengl/qglpaintdevice.cpp')
-rw-r--r-- | src/opengl/qglpaintdevice.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/opengl/qglpaintdevice.cpp b/src/opengl/qglpaintdevice.cpp index 4f000ba..4cdeb76 100644 --- a/src/opengl/qglpaintdevice.cpp +++ b/src/opengl/qglpaintdevice.cpp @@ -43,6 +43,7 @@ #include <private/qgl_p.h> #include <private/qglpixelbuffer_p.h> #include <private/qglframebufferobject_p.h> +#include <private/qwindowsurface_gl_p.h> QGLPaintDevice::QGLPaintDevice() { @@ -106,10 +107,10 @@ QGLFormat QGLPaintDevice::format() const return context()->format(); } -QSize QGLPaintDevice::size() const -{ - return QSize(); -} +//QSize QGLPaintDevice::size() const +//{ +// return QSize(); +//} |