// Copyright (c) 2021 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once // Settings #include "config.h" // Static Libs #include #if SETTING_PLATFORM_USE_GLAD == 1 #include #else #include #endif #if SETTING_PLATFORM == SETTING_PLATFORM_GLFW #include #elif SETTING_PLATFORM == SETTING_PLATFORM_SDL #include "SDL.h" #include "SDL_opengl.h" #elif SETTING_PLATFORM == SETTING_PLATFORM_GBM #include #include #include #endif #include #include // Standard Libs #include #include #include #include #include #include #if defined(_WIN32) || defined(_WIN64) // Windows Fixes # define strtok_r strtok_s # define sleep(n) _sleep(n) #else #include #endif