mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-21 19:04:42 -04:00
Ask for zero alpha bits for the CS
This *might* fix https://gitlab.com/OpenMW/openmw/-/issues/8270, but I couldn't repro it. When I debugged it, the default value was 0xFFFFFFFF, which hopefully is a magic *don't care* value and asking for zero gives us exactly zero rather than at least zero. However, it might just mean *as much as possible*, in which case zero might still mean *at least zero* and sometimes end up not being zero.
This commit is contained in:
parent
b5f87a9d50
commit
d4f18c6478
@ -35,6 +35,7 @@ void setQSurfaceFormat()
|
||||
format.setSamples(ds->getMultiSamples());
|
||||
format.setStencilBufferSize(ds->getMinimumNumStencilBits());
|
||||
format.setSwapBehavior(QSurfaceFormat::DoubleBuffer);
|
||||
format.setAlphaBufferSize(0);
|
||||
QSurfaceFormat::setDefaultFormat(format);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user