/
Tias
/
UIToolkit
Обзор
Документация
Войти
/
Tias
/
UIToolkit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
include/utils/glCheckError.hpp
24 строки
606 B
Tias
add minimal working render box test
27 июн 2025, 21:42
27 июн 2025, 21:42
a090302
Код
Авторство
О чём код?
#ifndef GL_CHECK_ERROR_HPP_ #define GL_CHECK_ERROR_HPP_ #define GLEW_STATIC #include <GL/glew.h> GLenum glCheckError_(const char *file, int line); #ifdef DEBUG #define glCheckError() glCheckError_(__FILE__, __LINE__) #else #define glCheckError() {}; #endif void glDebugOutput(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, const void *userParam); #endif // !GL_CHECK_ERROR_HPP_