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

LibGL: Implement glMultMatrixd

This commit is contained in:
Jelle Raaijmakers 2021-12-24 14:50:19 +01:00 committed by Andreas Kling
parent 60fa921daa
commit 4a36d6b439
2 changed files with 6 additions and 0 deletions

View file

@ -67,6 +67,11 @@ static constexpr Matrix4x4<O> transpose_input_matrix(I const* matrix)
// clang-format on
}
void glMultMatrixd(GLdouble const* matrix)
{
g_gl_context->gl_mult_matrix(transpose_input_matrix<double, float>(matrix));
}
void glMultMatrixf(GLfloat const* matrix)
{
g_gl_context->gl_mult_matrix(transpose_input_matrix<float, float>(matrix));