diff options
author | Jesse Buhagiar <jooster669@gmail.com> | 2021-04-24 22:43:42 +1000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-08 10:13:22 +0200 |
commit | f07a7f7b946852ab0df6201676501578c02ef133 (patch) | |
tree | 98c0eaf958f74a58234bd2b40b4685b33882a7e6 /Userland/Libraries/LibGL/GLContext.h | |
parent | ea0df0b5da0247108bc7fe3c6a7c23f709802ef2 (diff) | |
download | serenity-f07a7f7b946852ab0df6201676501578c02ef133.zip |
LibGL: Impement glLoadMatrixf and underlying function
Diffstat (limited to 'Userland/Libraries/LibGL/GLContext.h')
-rw-r--r-- | Userland/Libraries/LibGL/GLContext.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGL/GLContext.h b/Userland/Libraries/LibGL/GLContext.h index 48bc94d521..4d6f02a4a2 100644 --- a/Userland/Libraries/LibGL/GLContext.h +++ b/Userland/Libraries/LibGL/GLContext.h @@ -9,6 +9,7 @@ #include "GL/gl.h" #include <AK/OwnPtr.h> +#include <LibGfx/Matrix4x4.h> namespace GL { @@ -25,6 +26,7 @@ public: virtual GLenum gl_get_error() = 0; virtual GLubyte* gl_get_string(GLenum name) = 0; virtual void gl_load_identity() = 0; + virtual void gl_load_matrix(const FloatMatrix4x4& matrix) = 0; virtual void gl_matrix_mode(GLenum mode) = 0; virtual void gl_push_matrix() = 0; virtual void gl_pop_matrix() = 0; |