mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibGL: Implement glScissor()
This commit is contained in:
parent
6dd2ebfe8e
commit
bb58f6ccab
Notes:
sideshowbarker
2024-07-18 00:35:33 +09:00
Author: https://github.com/gmta
Commit: bb58f6ccab
Pull-request: https://github.com/SerenityOS/serenity/pull/11103
Reviewed-by: https://github.com/sunverwerth ✅
9 changed files with 83 additions and 10 deletions
|
@ -154,3 +154,8 @@ void glPixelStorei(GLenum pname, GLint param)
|
|||
{
|
||||
g_gl_context->gl_pixel_store(pname, param);
|
||||
}
|
||||
|
||||
void glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
{
|
||||
g_gl_context->gl_scissor(x, y, width, height);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue