2021-01-21 14:30:48 +00:00
|
|
|
/*****************************************************************//**
|
|
|
|
* \file core.hpp
|
|
|
|
* \brief Core includes and defines
|
|
|
|
*
|
|
|
|
* \author Robert
|
|
|
|
* \date January 2021
|
|
|
|
*********************************************************************/
|
|
|
|
|
2021-01-19 18:25:46 +00:00
|
|
|
#ifndef CORE_HPP
|
|
|
|
#define CORE_HPP
|
|
|
|
|
2021-01-24 16:05:28 +00:00
|
|
|
#pragma warning(disable : 4251)
|
|
|
|
|
2021-01-21 00:12:25 +00:00
|
|
|
#include <memory>
|
2021-01-21 14:48:31 +00:00
|
|
|
#include <stdexcept>
|
|
|
|
#include <string>
|
2021-01-22 12:37:57 +00:00
|
|
|
|
2021-01-21 11:07:43 +00:00
|
|
|
#include <glad/glad.h>
|
2021-01-21 00:12:25 +00:00
|
|
|
|
2021-01-24 19:14:42 +00:00
|
|
|
|
2021-01-19 18:25:46 +00: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
|