/** * Copyright (c) 2025 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once #include "displaydefs.h" #include "error/error.h" #include "display/camera.h" #include "display/framebuffer.h" typedef struct { #if DISPLAY_SDL2 SDL_Window *window; SDL_GLContext glContext; #endif } display_t; extern display_t DISPLAY; /** * Initializes the display system. */ errorret_t displayInit(void); /** * Tells the display system to actually draw the frame. */ errorret_t displayUpdate(void); /** * Disposes of the display system. */ errorret_t displayDispose(void);