1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

Remove hardcoded Intel GMA 950 check

This commit is contained in:
fgenesis 2016-11-15 01:18:54 +01:00
parent b32ce853e7
commit 0db3c8242c

View file

@ -59,21 +59,6 @@ float FrameBuffer::getHeightP()
bool FrameBuffer::init(int width, int height, bool fitToScreen)
{
// !!! FIXME: check for common GMA GL_RENDERER strings on Linux, too.
#ifdef BBGE_BUILD_MACOSX
std::ostringstream oss;
oss << "Vendor: [" << glGetString(GL_VENDOR) << "] Renderer: [" << glGetString(GL_RENDERER) << "]";
debugLog(oss.str());
std::string renderer = (const char*)glGetString(GL_RENDERER);
if (renderer.find("Intel GMA 950") != std::string::npos)
{
debugLog("Video Card is Intel GMA 950. Disabling FrameBuffer Effects.");
return false;
}
#endif
#ifdef BBGE_BUILD_FRAMEBUFFER
_w = width;