summaryrefslogtreecommitdiffstats
path: root/src/scenegraph/coreapi/renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/scenegraph/coreapi/renderer.h')
-rw-r--r--src/scenegraph/coreapi/renderer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scenegraph/coreapi/renderer.h b/src/scenegraph/coreapi/renderer.h
index 2f80277..fc11a63 100644
--- a/src/scenegraph/coreapi/renderer.h
+++ b/src/scenegraph/coreapi/renderer.h
@@ -53,6 +53,7 @@
#include <qglshaderprogram.h>
#include "node.h"
+#include "qsgtexturemanager.h"
class AbstractEffectProgram;
struct AbstractEffectType;
@@ -122,8 +123,8 @@ public:
void setClearColor(const QColor &color);
- void setTexture(int unit, const TextureReference *texture);
- void setTexture(const TextureReference *texture) { setTexture(0, texture); }
+ void setTexture(int unit, const QSGTextureRef &texture);
+ void setTexture(const QSGTextureRef &texture) { setTexture(0, texture); }
void renderScene();
void renderScene(const Bindable &bindable);