2021-01-21 15:30:48 +01:00
|
|
|
/*****************************************************************//**
|
|
|
|
* \file core.hpp
|
|
|
|
* \brief Core includes and defines
|
|
|
|
*
|
|
|
|
* \author Robert
|
|
|
|
* \date January 2021
|
|
|
|
*********************************************************************/
|
|
|
|
|
2021-01-19 19:25:46 +01:00
|
|
|
#ifndef CORE_HPP
|
|
|
|
#define CORE_HPP
|
|
|
|
|
2021-01-21 01:12:25 +01:00
|
|
|
#include <memory>
|
2021-01-21 15:48:31 +01:00
|
|
|
#include <stdexcept>
|
|
|
|
#include <string>
|
2021-01-22 13:37:57 +01:00
|
|
|
|
2021-01-21 12:07:43 +01:00
|
|
|
#include <glad/glad.h>
|
2021-01-21 01:12:25 +01:00
|
|
|
|
2021-01-19 19:25:46 +01:00
|
|
|
#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
|