mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 05:07:35 +00:00
LibGL: Stub glPointSize
This commit is contained in:
parent
6363797e80
commit
03c1f1780d
Notes:
sideshowbarker
2024-07-17 21:10:52 +09:00
Author: https://github.com/gmta
Commit: 03c1f1780d
Pull-request: https://github.com/SerenityOS/serenity/pull/11800
Reviewed-by: https://github.com/Quaker762
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/sunverwerth ✅
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