Safe Haskell | None |
---|
Graphics.GLUtil.GLError
Description
Miscellaneous utilities for dealing with OpenGL errors.
- printError :: IO ()
- printErrorMsg :: String -> IO ()
- throwError :: IO ()
- data GLError
- throwErrorMsg :: String -> IO ()
Documentation
printError :: IO ()Source
Check OpenGL error flags and print them on stderr
.
printErrorMsg :: String -> IO ()Source
Check OpenGL error flags and print them on stderr
with the given
message as a prefix. If there are no errors, nothing is printed.
throwError :: IO ()Source
Throw an exception if there is an OpenGL error.
An exception type for OpenGL errors.
throwErrorMsg :: String -> IO ()Source
Throw an exception if there is an OpenGL error. The exception's
error message is prefixed with the supplied String
.