OpenGL: Check the list of supported AA modes instead of hardcoding

This commit is contained in:
Pokechu22 2023-03-19 22:20:34 -07:00
commit b246a634d4
7 changed files with 133 additions and 20 deletions

View file

@ -36,6 +36,7 @@ public:
{
return IsMultisampled() ? GL_TEXTURE_2D_MULTISAMPLE_ARRAY : GL_TEXTURE_2D_ARRAY;
}
static GLenum GetGLInternalFormatForTextureFormat(AbstractTextureFormat format, bool storage);
GLenum GetGLFormatForImageTexture() const;
private: