Stardew Engine
Loading...
Searching...
No Matches
PlatformDefs.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef _WIN64
4#define GAME_PLATFORM_WINDOWS_64
5#define GAME_PTR_SIZE 8
6#elif _WIN32
7#define GAME_PLATFORM_WINDOWS_32
8#define GAME_PTR_SIZE 4
9#elif __GNUC__
10#define GAME_PLATFORM_LINUX
11#define GAME_PTR_SIZE __SIZEOF_POINTER__
12#endif
13
14#define GAME_GL_API_TYPE_ES 1
15#define GAME_GL_API_TYPE_CORE 2
16
17//#define GAME_GL_API_TYPE "OPEN_GL"
18#define GAME_GL_API_TYPE GAME_GL_API_TYPE_ES