mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-20 12:00:35 -04:00
Merge pull request #11699 from Pokechu22/gl-check-maximum-samples
OpenGL: Check the list of supported AA modes instead of hardcoding
This commit is contained in:
@@ -15,9 +15,7 @@
|
||||
|
||||
namespace OGL
|
||||
{
|
||||
namespace
|
||||
{
|
||||
GLenum GetGLInternalFormatForTextureFormat(AbstractTextureFormat format, bool storage)
|
||||
GLenum OGLTexture::GetGLInternalFormatForTextureFormat(AbstractTextureFormat format, bool storage)
|
||||
{
|
||||
switch (format)
|
||||
{
|
||||
@@ -55,6 +53,8 @@ GLenum GetGLInternalFormatForTextureFormat(AbstractTextureFormat format, bool st
|
||||
}
|
||||
}
|
||||
|
||||
namespace
|
||||
{
|
||||
GLenum GetGLFormatForTextureFormat(AbstractTextureFormat format)
|
||||
{
|
||||
switch (format)
|
||||
|
||||
Reference in New Issue
Block a user