1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:27:34 +00:00

LibGL: Implement glScissor()

This commit is contained in:
Jelle Raaijmakers 2021-11-27 19:00:16 +01:00 committed by Brian Gianforcaro
parent 6dd2ebfe8e
commit bb58f6ccab
9 changed files with 83 additions and 10 deletions

View file

@ -6,6 +6,7 @@
#pragma once
#include <LibGfx/Rect.h>
#include <LibGfx/Size.h>
namespace GL {
@ -18,6 +19,7 @@ public:
float* scanline(int y);
void clear(float depth);
void clear(Gfx::IntRect bounds, float depth);
private:
Gfx::IntSize m_size;