This repository contains examples from LearnOpenGL implemented using SDL and bgfx. Works currently on macOS, Linux and Windows. Planning to add more examples from LearnOpenGL and more platforms support.
git clone https://github.com/seemsindie/learnbgfx.git
cd learnopengl-sdl-bgfxNote: on Windows install nasm (SDL image requierment) with winget install nasm -i
With ninja
mkdir build
cd build
cmake -G Ninja ..
ninja # compile it allWith make
mkdir build
cd build
cmake ..
make # compile it allYou can also list targets with
ninja -t targets
# and build a specific target with
ninja <target>