1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:17:34 +00:00

LibGL: Implement glListBase

This commit is contained in:
Jelle Raaijmakers 2021-12-01 14:34:26 +01:00 committed by Andreas Kling
parent 1056bac49a
commit 11fea6b597
5 changed files with 19 additions and 1 deletions

View file

@ -61,6 +61,7 @@ public:
virtual void gl_call_list(GLuint list) override;
virtual void gl_call_lists(GLsizei n, GLenum type, void const* lists) override;
virtual void gl_delete_lists(GLuint list, GLsizei range) override;
virtual void gl_list_base(GLuint base) override;
virtual void gl_end_list(void) override;
virtual void gl_new_list(GLuint list, GLenum mode) override;
virtual void gl_flush() override;
@ -254,6 +255,7 @@ private:
static constexpr size_t max_allowed_gl_call_depth { 128 };
size_t m_gl_call_depth { 0 };
Vector<Listing> m_listings;
size_t m_list_base { 0 };
struct CurrentListing {
Listing listing;
size_t index { 0 };