Skip to content

Commit

Permalink
First build using the new repository
Browse files Browse the repository at this point in the history
  • Loading branch information
sbarisic committed Sep 19, 2023
1 parent 7848b03 commit 57e819d
Show file tree
Hide file tree
Showing 6 changed files with 823 additions and 3 deletions.
17 changes: 17 additions & 0 deletions Nuklear2/Nuklear.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#define NK_IMPLEMENTATION

#define NK_ZERO_COMMAND_MEMORY
#define NK_BUTTON_TRIGGER_ON_RELEASE

#define NK_INCLUDE_FONT_BAKING
#define NK_INCLUDE_DEFAULT_FONT
#define NK_INCLUDE_VERTEX_BUFFER_OUTPUT
#define NK_INCLUDE_COMMAND_USERDATA

#define NK_INPUT_MAX 512


// Crash on assertion failure, it is captured as an exception in .NET
#define NK_ASSERT(ex) do { if(!(ex)) { *(int*)0 = 0; } } while(0)

#include <nuklear.h>
Loading

0 comments on commit 57e819d

Please sign in to comment.