Skip to content

Commit

Permalink
Merge pull request #636 from Ryder17z/patch-1
Browse files Browse the repository at this point in the history
Proposal: Update nuklear_sdl_renderer.h to use recommended path for SDL.h
  • Loading branch information
RobLoach authored May 25, 2024
2 parents 6286f22 + 8e84d63 commit b9e84c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion demo/sdl_renderer/nuklear_sdl_renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
#ifndef NK_SDL_RENDERER_H_
#define NK_SDL_RENDERER_H_

#include <SDL2/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 void nk_sdl_font_stash_begin(struct nk_font_atlas **atlas);
NK_API void nk_sdl_font_stash_end(void);
Expand Down

0 comments on commit b9e84c0

Please sign in to comment.