summaryrefslogtreecommitdiffstats
path: root/src/render/graphicshelpers/graphicshelpergl3_3_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-06-30 16:29:47 +0200
committerSean Harmer <sean.harmer@kdab.com>2017-07-06 09:23:54 +0000
commit17977c51d765978cf3ae9fe71cf10b718b9f17be (patch)
treed7ecf303577594efac3d34da6c8b3727c18527b7 /src/render/graphicshelpers/graphicshelpergl3_3_p.h
parentd6bd48a947cbcae7da6c7cae00e5dddc954fa419 (diff)
Add uniform buffer support for GLES 3.0+
Also, GLES 3 only has glMapBufferRange so pass in a size to mapBuffer() from now on. Task-number: QTBUG-61729 Change-Id: I0a049811a6daff5dd6a83d535509f4266eb01c53 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/graphicshelpers/graphicshelpergl3_3_p.h')
-rw-r--r--src/render/graphicshelpers/graphicshelpergl3_3_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphicshelpers/graphicshelpergl3_3_p.h b/src/render/graphicshelpers/graphicshelpergl3_3_p.h
index cb7b723ff..12ef374d3 100644
--- a/src/render/graphicshelpers/graphicshelpergl3_3_p.h
+++ b/src/render/graphicshelpers/graphicshelpergl3_3_p.h
@@ -95,7 +95,7 @@ public:
void disablei(GLenum cap, GLuint index) Q_DECL_OVERRIDE;
void disablePrimitiveRestart() Q_DECL_OVERRIDE;
void dispatchCompute(GLuint wx, GLuint wy, GLuint wz) Q_DECL_OVERRIDE;
- char *mapBuffer(GLenum target) Q_DECL_OVERRIDE;
+ char *mapBuffer(GLenum target, GLsizeiptr size) Q_DECL_OVERRIDE;
GLboolean unmapBuffer(GLenum target) Q_DECL_OVERRIDE;
void drawArrays(GLenum primitiveType, GLint first, GLsizei count) Q_DECL_OVERRIDE;
void drawArraysIndirect(GLenum mode,void *indirect) Q_DECL_OVERRIDE;