Skip to content

Instantly share code, notes, and snippets.

@fabulousduck
Created July 30, 2018 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabulousduck/7585f31c3b87d2f06bfb9270974030eb to your computer and use it in GitHub Desktop.
Save fabulousduck/7585f31c3b87d2f06bfb9270974030eb to your computer and use it in GitHub Desktop.
#ifndef _NKH_
#define _NKH_
#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#define NK_INCLUDE_FIXED_TYPES
#define NK_INCLUDE_STANDARD_IO
#define NK_INCLUDE_STANDARD_VARARGS
#define NK_INCLUDE_DEFAULT_ALLOCATOR
#define NK_INCLUDE_VERTEX_BUFFER_OUTPUT
#define NK_INCLUDE_FONT_BAKING
#define NK_INCLUDE_DEFAULT_FONT
#define NK_IMPLEMENTATION
#define NK_SDL_GL3_IMPLEMENTATION
#include "../../../nuklear/nuklear.h"
#include "nuklear_sdl_binding.h"
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment