mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibGL: Implement glLineWidth
This commit is contained in:
parent
22f8294a57
commit
fbed7a5ba8
5 changed files with 21 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue