summaryrefslogtreecommitdiffstats
path: root/customcontext/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'customcontext/context.h')
-rw-r--r--customcontext/context.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/customcontext/context.h b/customcontext/context.h
index 53b26e0..b7fec10 100644
--- a/customcontext/context.h
+++ b/customcontext/context.h
@@ -95,8 +95,12 @@ public:
QSGRenderer *createRenderer();
#ifdef PROGRAM_BINARY
+#if QT_VERSION >= 0x050800
+ void compileShader(QSGMaterialShader *shader, QSGMaterial *material, const char *vertex = 0, const char *fragment = 0);
+#else
void compile(QSGMaterialShader *shader, QSGMaterial *material, const char *vertex = 0, const char *fragment = 0);
#endif
+#endif
#ifdef CUSTOMCONTEXT_DITHER
bool m_dither;