diff options
author | Michael Brasser <michael.brasser@live.com> | 2014-08-20 21:35:27 -0500 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@jollamobile.com> | 2014-08-22 10:12:25 +0200 |
commit | cb8c62c3f0354c9af7cf5808e3dad71a5a6434b3 (patch) | |
tree | e7b6dfa7e5e88136911c691adf60477167e108ad | |
parent | 3eb466a75d1d243366fb46c8e9488d5ddf7e6b17 (diff) |
Add default values matching base QSGRenderContext::compile().
Change-Id: I687334cd79cbf5f0cb00ed0e60fd502308c4910e
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
-rw-r--r-- | customcontext/context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/customcontext/context.h b/customcontext/context.h index 0b0e65f..b4a3524 100644 --- a/customcontext/context.h +++ b/customcontext/context.h @@ -80,7 +80,7 @@ public: QSGRenderer *createRenderer(); #ifdef PROGRAM_BINARY - void compile(QSGMaterialShader *shader, QSGMaterial *material, const char *vertex, const char *fragment); + void compile(QSGMaterialShader *shader, QSGMaterial *material, const char *vertex = 0, const char *fragment = 0); #endif #ifdef CUSTOMCONTEXT_DITHER |