diff options
Diffstat (limited to 'src/render/graphicshelpers/graphicscontext_p.h')
-rw-r--r-- | src/render/graphicshelpers/graphicscontext_p.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/graphicshelpers/graphicscontext_p.h b/src/render/graphicshelpers/graphicscontext_p.h index f1dc176f8..9252bb467 100644 --- a/src/render/graphicshelpers/graphicscontext_p.h +++ b/src/render/graphicshelpers/graphicscontext_p.h @@ -157,7 +157,9 @@ public: void setRenderer(Renderer *renderer); - void specifyAttribute(const Attribute *attribute, Buffer *buffer, int attributeLocation); + void specifyAttribute(const Attribute *attribute, + Buffer *buffer, + const ShaderAttribute *attributeDescription); void specifyIndices(Buffer *buffer); void updateBuffer(Buffer *buffer); QByteArray downloadBufferContent(Buffer *buffer); @@ -324,6 +326,7 @@ private: uint vertexSize; uint byteStride; uint divisor; + GLenum shaderDataType; }; using VAOIndexAttribute = HGLBuffer; |