1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

LibGL: Stub glPointSize

This commit is contained in:
Jelle Raaijmakers 2022-01-10 02:29:56 +01:00 committed by Linus Groh
parent 6363797e80
commit 03c1f1780d
2 changed files with 8 additions and 0 deletions

View file

@ -6,6 +6,7 @@
#include "GL/gl.h"
#include "GLContext.h"
#include <AK/Debug.h>
extern GL::GLContext* g_gl_context;
@ -24,6 +25,12 @@ void glLineWidth(GLfloat width)
g_gl_context->gl_line_width(width);
}
void glPointSize(GLfloat size)
{
// FIXME: implement
dbgln_if(GL_DEBUG, "glPointSize({}): unimplemented", size);
}
void glRasterPos2i(GLint x, GLint y)
{
g_gl_context->gl_raster_pos(static_cast<float>(x), static_cast<float>(y), 0.0f, 1.0f);