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
parent c63f0f37cd
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: