mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
OGL: Invalidate tracked state when calling ResetAPIState()
Due to the current design, any of the GL state can be mutated after calling this function, so we can't assume that the tracked state will match if we call SetPipeline() after ResetAPIState().
This commit is contained in:
@ -113,9 +113,13 @@ union SamplerState
|
||||
|
||||
namespace RenderState
|
||||
{
|
||||
RasterizationState GetInvalidRasterizationState();
|
||||
RasterizationState GetNoCullRasterizationState();
|
||||
DepthState GetInvalidDepthState();
|
||||
DepthState GetNoDepthTestingDepthStencilState();
|
||||
BlendingState GetInvalidBlendingState();
|
||||
BlendingState GetNoBlendingBlendState();
|
||||
SamplerState GetInvalidSamplerState();
|
||||
SamplerState GetPointSamplerState();
|
||||
SamplerState GetLinearSamplerState();
|
||||
}
|
||||
|
Reference in New Issue
Block a user