Add support for falling back to glBlendEquationEXT if necessary.

This should help keep LÖVE from crashing on old cards with crappy drivers.
This commit is contained in:
Bill Meltsner
2012-03-03 19:25:42 -05:00
parent 830283ff17
commit 57b4d2c5b9
4 changed files with 24 additions and 4 deletions
+1
View File
@@ -156,6 +156,7 @@ namespace graphics
{ "canvas", Graphics::SUPPORT_CANVAS },
{ "pixeleffect", Graphics::SUPPORT_PIXELEFFECT },
{ "npot", Graphics::SUPPORT_NPOT },
{ "subtractive", Graphics::SUPPORT_SUBTRACTIVE },
};
StringMap<Graphics::Support, Graphics::SUPPORT_MAX_ENUM> Graphics::support(Graphics::supportEntries, sizeof(Graphics::supportEntries));