Magnum/GL/OpenGLTester.h file

Class Magnum::GL::OpenGLTester, macro MAGNUM_VERIFY_NO_GL_ERROR()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::GL
OpenGL wrapping layer.

Classes

class Magnum::GL::OpenGLTester
Base class for OpenGL tests and benchmarks.

Defines

#define MAGNUM_VERIFY_NO_GL_ERROR()
Verify that no OpenGL error occurred.

Define documentation

#define MAGNUM_VERIFY_NO_GL_ERROR()

Verify that no OpenGL error occurred.

Equivalent to

CORRADE_COMPARE(Magnum::GL::Renderer::error(), Magnum::GL::Renderer::Error::NoError);