Fix MSAA sample count for Metal
This commit is contained in:
parent
17db2f79e0
commit
ff6aa27cae
@ -640,7 +640,7 @@ namespace bgfx { namespace mtl
|
||||
|
||||
for (uint32_t ii = 1, last = 0; ii < BX_COUNTOF(s_msaa); ++ii)
|
||||
{
|
||||
const int32_t sampleCount = 1; //1<<ii;
|
||||
const int32_t sampleCount = 1<<ii;
|
||||
if (m_device.supportsTextureSampleCount(sampleCount) )
|
||||
{
|
||||
s_msaa[ii] = sampleCount;
|
||||
|
Loading…
Reference in New Issue
Block a user