Removed DUSK_ prefix

This commit is contained in:
2025-08-23 10:13:49 -05:00
parent 1bf6fe6eaf
commit 1dfde00317
28 changed files with 148 additions and 101 deletions

View File

@@ -8,11 +8,15 @@
#pragma once
#include "error/error.h"
#if DUSK_DISPLAY_SDL2
#if DISPLAY_SDL2
#include <SDL2/SDL.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glext.h>
#ifndef DISPLAY_SIZE_DYNAMIC
#define DISPLAY_SIZE_DYNAMIC 1
#endif
#else
#error "Need to specify display backend."
#endif
@@ -31,8 +35,10 @@
#define DISPLAY_WINDOW_HEIGHT_DEFAULT DISPLAY_HEIGHT
#endif
typedef struct {
#if DUSK_DISPLAY_SDL2
#if DISPLAY_SDL2
SDL_Window *window;
SDL_GLContext glContext;
#endif