Add an "Automatic" GL profile.

This commit is contained in:
Paul Chote
2020-10-01 18:47:06 +01:00
committed by abcdefg30
parent fc844cfa6d
commit 87c5cc96ad
4 changed files with 14 additions and 7 deletions

View File

@@ -181,8 +181,9 @@ namespace OpenRA
[Desc("Preferred OpenGL profile to use.",
"Modern: OpenGL Core Profile 3.2 or greater.",
"Embedded: OpenGL ES 3.0 or greater.",
"Legacy: OpenGL 2.1 with framebuffer_object extension.")]
public GLProfile GLProfile = GLProfile.Modern;
"Legacy: OpenGL 2.1 with framebuffer_object extension.",
"Automatic: Use the first supported profile.")]
public GLProfile GLProfile = GLProfile.Automatic;
public int BatchSize = 8192;
public int SheetSize = 2048;