mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-12 05:11:38 +00:00
OGL: Convert SupportedESPointSize to an enum class
This commit is contained in:
parent
79b8e136b7
commit
c68d484a65
3 changed files with 20 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue