#pragma once //#include #include "Core/Logger.h" #define GLEW_STATIC #include #include #define __CHECK_GL_ERROR__ { \ auto gl_error_code=glGetError();\ if(gl_error_code!=GL_NO_ERROR){\ ERRORLOG("gl_error_code: {}", static_cast(gl_error_code));\ }\ }