[Bind] Hardcode some common OpenGL IHV names

These names are present in ES enums, even if no function uses them. We
need them for backwards-compatibility.
This commit is contained in:
thefiddler 2014-08-14 10:50:26 +02:00
parent d036c50a15
commit a05ffb8654

View file

@ -104,7 +104,15 @@ namespace Bind
public static Regex Extensions { get; private set; }
public static Regex Acronyms { get; private set; }
static List<string> extension_names = new List<string>();
// Both GL and ES contains SGI extension enums, even though no function
// uses them. This is a remnant from the glory days of gl.spec and GL 1.1.
// Note: REMOVING THESE WILL BREAK BINARY-COMPATIBILITY WITH OPENTK 1.0,
// WRT THE ES 1.1 API.
// You have been warned.
static List<string> extension_names = new List<string>
{
"SGI", "SGIS", "SGIX", "IBM", "AMD", "INTEL",
};
public static void AddExtensions(IEnumerable<string> extensions)
{