Package org.xjge.core

Class ErrorUtils

java.lang.Object
org.xjge.core.ErrorUtils

public final class ErrorUtils
extends java.lang.Object
Provides convenience methods for locating errors encountered by the engine at runtime.
Since:
2.0.0
  • Constructor Summary

    Constructors
    Constructor Description
    ErrorUtils()  
  • Method Summary

    Modifier and Type Method Description
    static void checkALError()
    Checks the error state of the OpenAL API.
    static void checkGLError()
    Checks the error state of the OpenGL API.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ErrorUtils

      public ErrorUtils()
  • Method Details

    • checkALError

      public static void checkALError()
      Checks the error state of the OpenAL API.
    • checkGLError

      public static void checkGLError()
      Checks the error state of the OpenGL API.