Skip to content

opengl: sampler: check OpenGL at runtime

OpenGL ES2 and 3 have this glGetFramebufferAttachmentParameteriv function but the allowed targets MUST be one of GL_BACK, GL_DEPTH or GL_STENCIL. We cannot use this on GL_BACK_LEFT then, which is a different value.

Merge request reports