summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-09-24 10:47:06 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-09-24 10:53:54 (GMT)
commitd31dcaf0c17d56f74d4faeaae3b5ce54ed847ee6 (patch)
treeb77822e34962d6fc286de797926e2dcf06bb8ec1 /src/opengl
parent108648a15dd06f56dab4e7efc8ce22552300b8f8 (diff)
downloadQt-d31dcaf0c17d56f74d4faeaae3b5ce54ed847ee6.zip
Qt-d31dcaf0c17d56f74d4faeaae3b5ce54ed847ee6.tar.gz
Qt-d31dcaf0c17d56f74d4faeaae3b5ce54ed847ee6.tar.bz2
Named anonymous struct in the OpenGL paint engine.
Task-number: QTBUG-13926 Reviewed-by: Gunnar
Diffstat (limited to 'src/opengl')
-rw-r--r--src/opengl/qpaintengine_opengl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qpaintengine_opengl.cpp b/src/opengl/qpaintengine_opengl.cpp
index 58778ea..2f17aa6 100644
--- a/src/opengl/qpaintengine_opengl.cpp
+++ b/src/opengl/qpaintengine_opengl.cpp
@@ -506,12 +506,12 @@ struct QDrawQueueItem
////////// GL program cache: start
-typedef struct {
+struct GLProgram {
int brush; // brush index or mask index
int mode; // composition mode index
bool mask;
GLuint program;
-} GLProgram;
+};
typedef QMultiHash<const QGLContext *, GLProgram> QGLProgramHash;