OpenGL: Implement debug callback

This commit is contained in:
Lynix
2020-04-19 15:19:16 +02:00
parent a842e89881
commit d62e99091f
4 changed files with 154 additions and 5 deletions

View File

@@ -229,6 +229,9 @@ namespace Nz::GL
bool WGLContext::ImplementFallback(const std::string_view& function)
{
if (Context::ImplementFallback(function))
return true;
if (m_params.type == ContextType::OpenGL_ES)
return false; //< Implement fallback only for OpenGL (when emulating OpenGL ES)