mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 19:16:02 +00:00
LibGL: Add stub for glCopyTexImage2D
This commit is contained in:
parent
401472c9a4
commit
6643775999
Notes:
sideshowbarker
2024-07-17 22:50:57 +09:00
Author: https://github.com/gmta
Commit: 6643775999
Pull-request: https://github.com/SerenityOS/serenity/pull/11154
Reviewed-by: https://github.com/sunverwerth ✅
5 changed files with 20 additions and 1 deletions
|
@ -115,6 +115,7 @@ public:
|
|||
virtual void gl_pop_attrib() override;
|
||||
virtual void gl_light_model(GLenum pname, GLfloat x, GLfloat y, GLfloat z, GLfloat w) override;
|
||||
virtual void gl_bitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte const* bitmap) override;
|
||||
virtual void gl_copy_tex_image_2d(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) override;
|
||||
virtual void present() override;
|
||||
|
||||
private:
|
||||
|
@ -290,7 +291,8 @@ private:
|
|||
decltype(&SoftwareGLContext::gl_push_attrib),
|
||||
decltype(&SoftwareGLContext::gl_pop_attrib),
|
||||
decltype(&SoftwareGLContext::gl_light_model),
|
||||
decltype(&SoftwareGLContext::gl_bitmap)>;
|
||||
decltype(&SoftwareGLContext::gl_bitmap),
|
||||
decltype(&SoftwareGLContext::gl_copy_tex_image_2d)>;
|
||||
|
||||
using ExtraSavedArguments = Variant<
|
||||
FloatMatrix4x4>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue