MCPcopy Create free account
hub / github.com/cginternals/glbinding / glError

Function glError

source/examples/comparison/glew.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25inline void glError()
26{
27 GLenum error = glGetError();
28 if (error != GL_NO_ERROR)
29 std::cout << "Error: " << error << std::endl;
30}
31
32void glew_test()
33{

Callers

nothing calls this directly

Calls 1

glGetErrorFunction · 0.85

Tested by

no test coverage detected