Fix GLProxy null pointer

This commit is contained in:
James Seibel
2023-08-31 19:08:31 -05:00
parent 7ac562c5e9
commit 751eb75c50
@@ -486,6 +486,13 @@ public class GLProxy
GLMessage.ESeverity severity = msg.severity;
RuntimeException ex = new RuntimeException("GL MESSAGE: " + msg);
if (severity == null)
{
// just in case the message was malformed
severity = GLMessage.ESeverity.LOW;
}
switch (severity)
{
case HIGH: