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

LibGL: Impement glLoadMatrixf and underlying function

This commit is contained in:
Jesse Buhagiar 2021-04-24 22:43:42 +10:00 committed by Andreas Kling
parent ea0df0b5da
commit f07a7f7b94
5 changed files with 32 additions and 0 deletions

View file

@ -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;