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

LibGL: Implement glLineWidth

This commit is contained in:
Jelle Raaijmakers 2021-12-01 16:51:40 +01:00 committed by Andreas Kling
parent 22f8294a57
commit fbed7a5ba8
5 changed files with 21 additions and 1 deletions

View file

@ -9,6 +9,11 @@
extern GL::GLContext* g_gl_context;
void glLineWidth(GLfloat width)
{
g_gl_context->gl_line_width(width);
}
void glRasterPos2i(GLint x, GLint y)
{
g_gl_context->gl_raster_pos(static_cast<float>(x), static_cast<float>(y), 0.0f, 1.0f);