Use glGetFloatv to fetch GL_SAMPLE_COVERAGE_VALUE

This commit is contained in:
baldurk
2018-10-25 16:21:55 +01:00
parent 1e6637098a
commit 247bf04486
+1 -1
View File
@@ -1217,7 +1217,7 @@ void GLRenderState::FetchState(WrappedOpenGL *driver)
if(HasExt[ARB_texture_multisample_no_array] || HasExt[ARB_texture_multisample])
GL.glGetIntegeri_v(eGL_SAMPLE_MASK_VALUE, 0, (GLint *)&SampleMask[0]);
GL.glGetIntegerv(eGL_SAMPLE_COVERAGE_VALUE, (GLint *)&SampleCoverage);
GL.glGetFloatv(eGL_SAMPLE_COVERAGE_VALUE, &SampleCoverage);
{
GLint invert = 0;