OpenGL-utility/include/core.hpp
2021-01-22 13:37:57 +01:00

31 lines
600 B
C++

/*****************************************************************//**
* \file core.hpp
* \brief Core includes and defines
*
* \author Robert
* \date January 2021
*********************************************************************/
#ifndef CORE_HPP
#define CORE_HPP
#include <memory>
#include <stdexcept>
#include <string>
#ifdef OGLU_BUILD_DLL
#include <glad/glad.h>
#endif
#ifdef OGLU_WIN32
#ifdef OGLU_BUILD_DLL
#define OGLU_API __declspec(dllexport)
#else
#define OGLU_API __declspec(dllimport)
#endif //OGLU_BUILD_DLL
#else
#define OGLU_API
#endif //OGLU_WIN32
#endif