/** * Copyright (c) 2025 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once #if DISPLAY_SDL2 #include #define GL_GLEXT_PROTOTYPES #include #include #ifndef DISPLAY_SIZE_DYNAMIC #define DISPLAY_SIZE_DYNAMIC 1 #endif #else #error "Need to specify display backend." #endif #ifndef DISPLAY_WINDOW_WIDTH_DEFAULT #error "DISPLAY_WINDOW_WIDTH_DEFAULT must be defined." #endif #ifndef DISPLAY_WINDOW_HEIGHT_DEFAULT #define DISPLAY_WINDOW_HEIGHT_DEFAULT DISPLAY_HEIGHT #endif