mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
Swapped order in IsFilteredByDebugLevel
This commit is contained in:
parent
f75b6d8c5d
commit
4241026f1c
1 changed files with 2 additions and 2 deletions
|
@ -168,9 +168,9 @@ bool FGLDebug::IsFilteredByDebugLevel(GLenum severity)
|
|||
int severityLevel = 0;
|
||||
switch (severity)
|
||||
{
|
||||
case GL_DEBUG_SEVERITY_LOW: severityLevel = 1; break;
|
||||
case GL_DEBUG_SEVERITY_HIGH: severityLevel = 1; break;
|
||||
case GL_DEBUG_SEVERITY_MEDIUM: severityLevel = 2; break;
|
||||
case GL_DEBUG_SEVERITY_HIGH: severityLevel = 3; break;
|
||||
case GL_DEBUG_SEVERITY_LOW: severityLevel = 3; break;
|
||||
case GL_DEBUG_SEVERITY_NOTIFICATION: severityLevel = 4; break;
|
||||
}
|
||||
return severityLevel >= (int)gl_debug_level;
|
||||
|
|
Loading…
Reference in a new issue