Also use events for config changed
This commit is contained in:
1 parent
0da69055d9
commit
3ae78b8e76
11 files changed
+46
-13
No files matched your search
@@ -437,6 +437,8 @@ SurfaceInfo Gfx::GetSurfaceInfo() const
|
||||
|
||||
void Gfx::OnConfigChanged(u32 bits)
|
||||
{
|
||||
AbstractGfx::OnConfigChanged(bits);
|
||||
|
||||
// For quad-buffered stereo we need to change the layer count, so recreate the swap chain.
|
||||
if (m_swap_chain && bits & CONFIG_CHANGE_BIT_STEREO_MODE)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user