mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibGL: Implement glListBase
This commit is contained in:
parent
1056bac49a
commit
11fea6b597
Notes:
sideshowbarker
2024-07-17 22:52:09 +09:00
Author: https://github.com/gmta
Commit: 11fea6b597
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
5 changed files with 19 additions and 1 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue