diff options
Diffstat (limited to 'src/scenegraph/coreapi/renderer.h')
-rw-r--r-- | src/scenegraph/coreapi/renderer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scenegraph/coreapi/renderer.h b/src/scenegraph/coreapi/renderer.h index 80fa771..b62528e 100644 --- a/src/scenegraph/coreapi/renderer.h +++ b/src/scenegraph/coreapi/renderer.h @@ -58,6 +58,7 @@ class AbstractEffectProgram; struct AbstractEffectType; class QGLFramebufferObject; +class TextureReference; class Bindable { @@ -122,8 +123,8 @@ public: void setClearColor(const QColor &color); - void setTexture(int unit, const QGLTexture2D *texture); - void setTexture(const QGLTexture2D *texture) { setTexture(0, texture); } + void setTexture(int unit, const TextureReference *texture); + void setTexture(const TextureReference *texture) { setTexture(0, texture); } void renderScene(); void renderScene(const Bindable &bindable); |