diff options
Diffstat (limited to 'Userland/Libraries/LibGL/SoftwareGLContext.h')
-rw-r--r-- | Userland/Libraries/LibGL/SoftwareGLContext.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/SoftwareGLContext.h b/Userland/Libraries/LibGL/SoftwareGLContext.h index b2a75fabd3..252dc86435 100644 --- a/Userland/Libraries/LibGL/SoftwareGLContext.h +++ b/Userland/Libraries/LibGL/SoftwareGLContext.h @@ -76,6 +76,7 @@ public: virtual void gl_depth_mask(GLboolean flag) override; virtual void gl_enable_client_state(GLenum cap) override; virtual void gl_disable_client_state(GLenum cap) override; + virtual void gl_vertex_pointer(GLint size, GLenum type, GLsizei stride, const void* pointer) override; virtual void present() override; @@ -223,6 +224,15 @@ private: GLenum mode { GL_COMPILE }; }; Optional<CurrentListing> m_current_listing_index; + + struct VertexAttribPointer { + GLint size { 4 }; + GLenum type { GL_FLOAT }; + GLsizei stride { 0 }; + const void* pointer { 0 }; + }; + + VertexAttribPointer m_client_vertex_pointer; }; } |