sdl: Allow changing the SDL.h path
This commit is contained in:
parent
38be74be66
commit
8e84d63c6c
@ -11,7 +11,10 @@
|
|||||||
#ifndef NK_SDL_RENDERER_H_
|
#ifndef NK_SDL_RENDERER_H_
|
||||||
#define NK_SDL_RENDERER_H_
|
#define NK_SDL_RENDERER_H_
|
||||||
|
|
||||||
#include <SDL.h>
|
#ifndef NK_SDL_RENDERER_SDL_H
|
||||||
|
#define NK_SDL_RENDERER_SDL_H <SDL.h>
|
||||||
|
#endif
|
||||||
|
#include NK_SDL_RENDERER_SDL_H
|
||||||
NK_API struct nk_context* nk_sdl_init(SDL_Window *win, SDL_Renderer *renderer);
|
NK_API struct nk_context* nk_sdl_init(SDL_Window *win, SDL_Renderer *renderer);
|
||||||
NK_API void nk_sdl_font_stash_begin(struct nk_font_atlas **atlas);
|
NK_API void nk_sdl_font_stash_begin(struct nk_font_atlas **atlas);
|
||||||
NK_API void nk_sdl_font_stash_end(void);
|
NK_API void nk_sdl_font_stash_end(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user