| Index: src/gpu/gl/GrGLVertexArray.cpp
|
| diff --git a/src/gpu/gl/GrGLVertexArray.cpp b/src/gpu/gl/GrGLVertexArray.cpp
|
| index 4acf29235df39f30cb1b58a47a3bd2bc78aa7da0..e28a163739c62a8e1bb365a4711ac37c51ea16e0 100644
|
| --- a/src/gpu/gl/GrGLVertexArray.cpp
|
| +++ b/src/gpu/gl/GrGLVertexArray.cpp
|
| @@ -8,10 +8,10 @@
|
| #include "GrGLVertexArray.h"
|
| #include "GrGpuGL.h"
|
|
|
| -#define GPUGL static_cast<GrGpuGL*>(this->getGpu())
|
| +#define GPUGL static_cast<GrGLGpu*>(this->getGpu())
|
| #define GL_CALL(X) GR_GL_CALL(GPUGL->glInterface(), X);
|
|
|
| -void GrGLAttribArrayState::set(const GrGpuGL* gpu,
|
| +void GrGLAttribArrayState::set(const GrGLGpu* gpu,
|
| int index,
|
| GrGLVertexBuffer* buffer,
|
| GrGLint size,
|
| @@ -49,7 +49,7 @@ void GrGLAttribArrayState::set(const GrGpuGL* gpu,
|
| }
|
| }
|
|
|
| -void GrGLAttribArrayState::disableUnusedArrays(const GrGpuGL* gpu, uint64_t usedMask) {
|
| +void GrGLAttribArrayState::disableUnusedArrays(const GrGLGpu* gpu, uint64_t usedMask) {
|
| int count = fAttribArrayStates.count();
|
| for (int i = 0; i < count; ++i) {
|
| if (!(usedMask & 0x1)) {
|
| @@ -68,7 +68,7 @@ void GrGLAttribArrayState::disableUnusedArrays(const GrGpuGL* gpu, uint64_t used
|
|
|
| ///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
| -GrGLVertexArray::GrGLVertexArray(GrGpuGL* gpu, GrGLint id, int attribCount)
|
| +GrGLVertexArray::GrGLVertexArray(GrGLGpu* gpu, GrGLint id, int attribCount)
|
| : INHERITED(gpu, false)
|
| , fID(id)
|
| , fAttribArrays(attribCount)
|
|
|