/** * Copyright (c) 2026 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once #include "dusk.h" typedef struct { SDL_Window *window; SDL_GLContext glContext; bool_t usingShaderedPalettes; } displaysdl2_t; /** * Initializes the display for SDL2. */ void displaySDL2Init(void); /** * Updates the display for SDL2. */ void displaySDL2Update(void); /** * Swaps the display buffers for SDL2. */ void displaySDL2Swap(void); /** * Disposes of the display for SDL2. */ void displaySDL2Dispose(void);