aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLTestInterface.h
diff options
context:
space:
mode:
authorGravatar csmartdalton <csmartdalton@google.com>2016-06-09 19:42:38 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-06-09 19:42:38 -0700
commit739bbb2dadbb9f1c37db0a2afa3709ae132d007a (patch)
tree5aee54cb66342a249f0b49ff6c53be2faacb3fd0 /src/gpu/gl/GrGLTestInterface.h
parentc9b4ccd77100acbf91fe6ded68da9715762e4f80 (diff)
Fix glDraw*Indirect prototypes
Diffstat (limited to 'src/gpu/gl/GrGLTestInterface.h')
-rw-r--r--src/gpu/gl/GrGLTestInterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLTestInterface.h b/src/gpu/gl/GrGLTestInterface.h
index 936d9b8a97..8f8a8bc4e5 100644
--- a/src/gpu/gl/GrGLTestInterface.h
+++ b/src/gpu/gl/GrGLTestInterface.h
@@ -60,12 +60,12 @@ public:
virtual GrGLvoid disableVertexAttribArray(GrGLuint index) {}
virtual GrGLvoid drawArrays(GrGLenum mode, GrGLint first, GrGLsizei count) {}
virtual GrGLvoid drawArraysInstanced(GrGLenum mode, GrGLint first, GrGLsizei count, GrGLsizei primcount) {}
- virtual GrGLvoid drawArraysIndirect(GrGLenum mode, GrGLvoid* indirect) {}
+ virtual GrGLvoid drawArraysIndirect(GrGLenum mode, const GrGLvoid* indirect) {}
virtual GrGLvoid drawBuffer(GrGLenum mode) {}
virtual GrGLvoid drawBuffers(GrGLsizei n, const GrGLenum* bufs) {}
virtual GrGLvoid drawElements(GrGLenum mode, GrGLsizei count, GrGLenum type, const GrGLvoid* indices) {}
virtual GrGLvoid drawElementsInstanced(GrGLenum mode, GrGLsizei count, GrGLenum type, const GrGLvoid *indices, GrGLsizei primcount) {}
- virtual GrGLvoid drawElementsIndirect(GrGLenum mode, GrGLenum type, GrGLvoid* indirect) {}
+ virtual GrGLvoid drawElementsIndirect(GrGLenum mode, GrGLenum type, const GrGLvoid* indirect) {}
virtual GrGLvoid enable(GrGLenum cap) {}
virtual GrGLvoid enableVertexAttribArray(GrGLuint index) {}
virtual GrGLvoid endQuery(GrGLenum target) {}