mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 05:57:10 +03:00
24 lines
338 B
C++
24 lines
338 B
C++
#pragma once
|
|
|
|
#include "ContextImpl.hpp"
|
|
|
|
namespace glrage {
|
|
|
|
#ifdef _LIB
|
|
#define GLRAPI
|
|
#elif defined(GLR_EXPORTS)
|
|
#define GLRAPI __declspec(dllexport)
|
|
#else
|
|
#define GLRAPI __declspec(dllimport)
|
|
#endif
|
|
|
|
class GLRage
|
|
{
|
|
public:
|
|
static GLRAPI Context& getContext();
|
|
|
|
private:
|
|
static ContextImpl m_context;
|
|
};
|
|
|
|
} // namespace glrage
|