mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 15:45:42 +00:00
GPU/HW: Fix incorrect initial transparency mode
Fixes broken menus in Road Rash after loading state.
This commit is contained in:
parent
6894a719d5
commit
552b0098ef
|
@ -97,13 +97,13 @@ protected:
|
||||||
|
|
||||||
struct BatchConfig
|
struct BatchConfig
|
||||||
{
|
{
|
||||||
GPUTextureMode texture_mode;
|
GPUTextureMode texture_mode = GPUTextureMode::Disabled;
|
||||||
GPUTransparencyMode transparency_mode;
|
GPUTransparencyMode transparency_mode = GPUTransparencyMode::Disabled;
|
||||||
bool dithering;
|
bool dithering = false;
|
||||||
bool interlacing;
|
bool interlacing = false;
|
||||||
bool set_mask_while_drawing;
|
bool set_mask_while_drawing = false;
|
||||||
bool check_mask_before_draw;
|
bool check_mask_before_draw = false;
|
||||||
bool use_depth_buffer;
|
bool use_depth_buffer = false;
|
||||||
|
|
||||||
// Returns the render mode for this batch.
|
// Returns the render mode for this batch.
|
||||||
BatchRenderMode GetRenderMode() const
|
BatchRenderMode GetRenderMode() const
|
||||||
|
@ -373,7 +373,7 @@ protected:
|
||||||
bool m_using_uv_limits = false;
|
bool m_using_uv_limits = false;
|
||||||
bool m_pgxp_depth_buffer = false;
|
bool m_pgxp_depth_buffer = false;
|
||||||
|
|
||||||
BatchConfig m_batch = {};
|
BatchConfig m_batch;
|
||||||
BatchUBOData m_batch_ubo_data = {};
|
BatchUBOData m_batch_ubo_data = {};
|
||||||
|
|
||||||
// Bounding box of VRAM area that the GPU has drawn into.
|
// Bounding box of VRAM area that the GPU has drawn into.
|
||||||
|
|
Loading…
Reference in a new issue