summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-08-21 10:34:46 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-08-21 10:51:05 (GMT)
commitc2688467c1b9b3543627a7fbb2382a95580b2f8a (patch)
treeb264320434e4c111e7d5356419ccde0e2d4447e7 /src/opengl/qgl_p.h
parent161b86b962f3bfb3e9663eaf3e00bd6849f03211 (diff)
downloadQt-c2688467c1b9b3543627a7fbb2382a95580b2f8a.zip
Qt-c2688467c1b9b3543627a7fbb2382a95580b2f8a.tar.gz
Qt-c2688467c1b9b3543627a7fbb2382a95580b2f8a.tar.bz2
Removed PBO texture upload from QGLContextPrivate::bindTexture().
The PBO code path causes a crash on certain AMD graphics cards, plus seems to perform worse than the straight forward glTexImage2D code path on several configurations. Task-number: 257353 Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index 92aea6c..ab040ed 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -252,7 +252,6 @@ public:
#endif
QGLFormat glFormat;
QGLFormat reqFormat;
- GLuint pbo;
GLuint fbo;
uint valid : 1;