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:
parent
b32ce853e7
commit
0db3c8242c
1 changed files with 0 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue