mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +00:00
LibGL: Implement glRectf
and glRecti
This commit is contained in:
parent
4a36d6b439
commit
d83702cb92
5 changed files with 30 additions and 1 deletions
|
@ -129,6 +129,8 @@ public:
|
|||
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 gl_rect(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) override;
|
||||
|
||||
virtual void present() override;
|
||||
|
||||
private:
|
||||
|
@ -312,7 +314,8 @@ private:
|
|||
decltype(&SoftwareGLContext::gl_pop_attrib),
|
||||
decltype(&SoftwareGLContext::gl_light_model),
|
||||
decltype(&SoftwareGLContext::gl_bitmap),
|
||||
decltype(&SoftwareGLContext::gl_copy_tex_image_2d)>;
|
||||
decltype(&SoftwareGLContext::gl_copy_tex_image_2d),
|
||||
decltype(&SoftwareGLContext::gl_rect)>;
|
||||
|
||||
using ExtraSavedArguments = Variant<
|
||||
FloatMatrix4x4>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue