mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Added log output for OpenGL extensions to warn when NPOT textures aren't supported
This commit is contained in:
parent
bc72990f39
commit
07598b3d6f
|
@ -166,6 +166,10 @@ int main(int argc, char* argv[])
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string glExts = (const char*)glGetString(GL_EXTENSIONS);
|
||||||
|
LOG(LogInfo) << "Checking available OpenGL extensions...";
|
||||||
|
LOG(LogInfo) << " ARB_texture_non_power_of_two: " << (glExts.find("ARB_texture_non_power_of_two") != std::string::npos ? "ok" : "MISSING");
|
||||||
|
|
||||||
window.renderLoadingScreen();
|
window.renderLoadingScreen();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue