MCPcopy Create free account
hub / github.com/SFML/SFML / EglScopedChecker

Method EglScopedChecker

src/SFML/Window/EGLCheck.cpp:130–137  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

128{
129////////////////////////////////////////////////////////////
130EglScopedChecker::EglScopedChecker(const std::string_view file, const std::string_view expression, const unsigned int line) :
131 m_file(file),
132 m_expression(expression),
133 m_line(line)
134{
135 if (const auto error = eglGetError(); error != EGL_SUCCESS)
136 err() << "EGL error (" << error << ") detected during eglCheck call" << std::endl;
137}
138
139
140////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected