Skip to content

Commit

Permalink
Merge pull request #641 from idontcares31249/master
Browse files Browse the repository at this point in the history
Fix missing nk_sdl_handle_grab declarations in SDL demo headers
  • Loading branch information
RobLoach authored May 22, 2024
2 parents 37e54da + b848bb0 commit 72198bb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/sdl_opengl2/nuklear_sdl_gl2.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ NK_API void nk_sdl_font_stash_end(void);
NK_API int nk_sdl_handle_event(SDL_Event *evt);
NK_API void nk_sdl_render(enum nk_anti_aliasing);
NK_API void nk_sdl_shutdown(void);
NK_API void nk_sdl_handle_grab(void);

#endif
/*
Expand Down
1 change: 1 addition & 0 deletions demo/sdl_opengl3/nuklear_sdl_gl3.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ NK_API void nk_sdl_render(enum nk_anti_aliasing , int max_vertex
NK_API void nk_sdl_shutdown(void);
NK_API void nk_sdl_device_destroy(void);
NK_API void nk_sdl_device_create(void);
NK_API void nk_sdl_handle_grab(void);

#endif

Expand Down
1 change: 1 addition & 0 deletions demo/sdl_opengles2/nuklear_sdl_gles2.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ NK_API void nk_sdl_render(enum nk_anti_aliasing , int max_vertex
NK_API void nk_sdl_shutdown(void);
NK_API void nk_sdl_device_destroy(void);
NK_API void nk_sdl_device_create(void);
NK_API void nk_sdl_handle_grab(void);

#endif

Expand Down
1 change: 1 addition & 0 deletions demo/sdl_renderer/nuklear_sdl_renderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ NK_API void nk_sdl_font_stash_end(void);
NK_API int nk_sdl_handle_event(SDL_Event *evt);
NK_API void nk_sdl_render(enum nk_anti_aliasing);
NK_API void nk_sdl_shutdown(void);
NK_API void nk_sdl_handle_grab(void);

#if SDL_COMPILEDVERSION < SDL_VERSIONNUM(2, 0, 22)
/* Metal API does not support cliprects with negative coordinates or large
Expand Down

0 comments on commit 72198bb

Please sign in to comment.