mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
OGL: only create stencil buffer when needed
This commit is contained in:
@ -15,8 +15,10 @@ public:
|
||||
static void SetTargetSizeChanged(int target_width, int target_height);
|
||||
|
||||
// When SSBO isn't available, the bounding box is calculated directly from the
|
||||
// stencil buffer. When the stencil buffer is changed, this function needs to
|
||||
// be called to invalidate the cached bounding box data.
|
||||
// stencil buffer.
|
||||
static bool NeedsStencilBuffer();
|
||||
// When the stencil buffer is changed, this function needs to be called to
|
||||
// invalidate the cached bounding box data.
|
||||
static void StencilWasUpdated();
|
||||
|
||||
static void Set(int index, int value);
|
||||
|
Reference in New Issue
Block a user