mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-13 07:00:47 -05:00
OGL: Convert SupportedESPointSize to an enum class
This commit is contained in:
@@ -664,12 +664,13 @@ void ProgramShaderCache::CreateHeader()
|
||||
std::string SupportedESTextureBuffer;
|
||||
switch (g_ogl_config.SupportedESPointSize)
|
||||
{
|
||||
case 1:
|
||||
case EsPointSizeType::PointSizeOes:
|
||||
SupportedESPointSize = "#extension GL_OES_geometry_point_size : enable";
|
||||
break;
|
||||
case 2:
|
||||
case EsPointSizeType::PointSizeExt:
|
||||
SupportedESPointSize = "#extension GL_EXT_geometry_point_size : enable";
|
||||
break;
|
||||
case EsPointSizeType::PointSizeNone:
|
||||
default:
|
||||
SupportedESPointSize = "";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user