1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:27:35 +00:00

LibGL: Add stub for glCopyTexSubImage2D

This commit is contained in:
Jesse Buhagiar 2022-03-25 22:50:36 +11:00 committed by Andreas Kling
parent 6e9ea2f21f
commit c08dfe063a
4 changed files with 21 additions and 1 deletions

View file

@ -159,6 +159,7 @@ public:
void gl_get_material(GLenum face, GLenum pname, void* params, GLenum type);
void gl_clip_plane(GLenum plane, GLdouble const* equation);
void gl_array_element(GLint i);
void gl_copy_tex_sub_image_2d(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
void present();
private:
@ -402,7 +403,8 @@ private:
decltype(&GLContext::gl_color_material),
decltype(&GLContext::gl_get_light),
decltype(&GLContext::gl_clip_plane),
decltype(&GLContext::gl_array_element)>;
decltype(&GLContext::gl_array_element),
decltype(&GLContext::gl_copy_tex_sub_image_2d)>;
using ExtraSavedArguments = Variant<
FloatMatrix4x4>;