diff options
author | Wieland Hagen <wieland.hagen@kdab.com> | 2016-04-14 20:08:23 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-04-16 12:22:20 +0000 |
commit | a91cbabb6447fb1a9f5702118eb3aa98f175918c (patch) | |
tree | ec204b96e05c4da6f7b24aa1af53d1b0cee113d5 /src/render/graphicshelpers/graphicscontext_p.h | |
parent | caeb69e2401fe4e8e4d7dfa34e39eee941478a9e (diff) |
Add GraphicsContext support for glClearBufferfv()
Task-number: QTBUG-50116
Change-Id: I78e06b0e2846897e2edaa5711b4e0d4a8057a3fc
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicscontext_p.h')
-rw-r--r-- | src/render/graphicshelpers/graphicscontext_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h index b21c94e20..c3ab61215 100644 --- a/src/render/graphicshelpers/graphicscontext_p.h +++ b/src/render/graphicshelpers/graphicscontext_p.h @@ -186,6 +186,7 @@ public: void blendFuncSeparatei(GLuint buf, GLenum sRGB, GLenum dRGB, GLenum sAlpha, GLenum dAlpha); GLuint boundFrameBufferObject(); void buildUniformBuffer(const QVariant &v, const ShaderUniform &description, QByteArray &buffer); + void clearBufferf(GLint drawbuffer, const QVector4D &values); void clearColor(const QColor &color); void clearDepthValue(float depth); void clearStencilValue(int stencil); |