Skip to content

Instantly share code, notes, and snippets.

View andrejp88's full-sized avatar

Andrej Petrović andrejp88

View GitHub Profile
@zlash
zlash / main.cpp
Created February 19, 2017 04:57
Minimal bgfx + SDL2
#include <SDL2/SDL.h>
#include <SDL2/SDL_syswm.h>
#include <bgfx/bgfx.h>
#include <bgfx/platform.h>
#include <bx/bx.h>
#include <bx/mutex.h>
#include <bx/thread.h>
void threadInit()
{