Removed DUSK_ prefix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user