mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibGL: Stub glPointSize
This commit is contained in:
parent
6363797e80
commit
03c1f1780d
2 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue