mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 15:27:34 +00:00
LibGL: Implement glScissor()
This commit is contained in:
parent
6dd2ebfe8e
commit
bb58f6ccab
9 changed files with 83 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue