OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
969e6e9
)
minor QGLWindowSurfacePrivate structure optimization
author
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 25 Jul 2016 01:21:35 +0000
(
01:21
+0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Mon, 25 Jul 2016 01:21:35 +0000
(
01:21
+0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/opengl/qwindowsurface_gl.cpp
patch
|
blob
|
history
diff --git
a/src/opengl/qwindowsurface_gl.cpp
b/src/opengl/qwindowsurface_gl.cpp
index
eab0d0f
..
d89d1e1
100644
(file)
--- a/
src/opengl/qwindowsurface_gl.cpp
+++ b/
src/opengl/qwindowsurface_gl.cpp
@@
-293,6
+293,7
@@
struct QGLWindowSurfacePrivate
bool destructive_swap_buffers : 1;
bool geometry_updated : 1;
bool did_paint : 1;
+ bool swap_region_support : 1;
QGLContext *ctx;
@@
-306,8
+307,6
@@
struct QGLWindowSurfacePrivate
QList<QImage> buffers;
QGLWindowSurfaceGLPaintDevice glDevice;
QGLWindowSurface* q_ptr;
-
- bool swap_region_support;
};
QGLFormat QGLWindowSurface::surfaceFormat;