Check GL_NV_framebuffer_multisample_coverage
`isRenderbufferMultisampleCoverageSupported()` should not return true if the extension is not supported. Fixes #1028
This commit is contained in:
committed by
Robert Osfield
parent
9fb010fadd
commit
b14eecb3c7
@@ -138,9 +138,7 @@ void getPossibleConfigs(GraphicsContext* gc, BufferConfigList& colorConfigs,
|
||||
return;
|
||||
if (ext->isMultisampleSupported)
|
||||
glGetIntegerv(GL_MAX_SAMPLES_EXT, &maxSamples);
|
||||
// isMultisampleCoverageSupported
|
||||
if (isGLExtensionSupported(contextID,
|
||||
"GL_NV_framebuffer_multisample_coverage"))
|
||||
if (ext->isRenderbufferMultisampleCoverageSupported())
|
||||
{
|
||||
glGetIntegerv(GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV,
|
||||
&coverageSampleConfigs);
|
||||
|
||||
Reference in New Issue
Block a user