Skip to content

Commit

Permalink
Add missing defines for STB
Browse files Browse the repository at this point in the history
  • Loading branch information
musshorn authored and wjakob committed Aug 25, 2020
1 parent 042db51 commit 07a8424
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/example1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
#include <nanogui/renderpass.h>
#include <iostream>
#include <memory>

#define STB_IMAGE_STATIC
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>

using namespace nanogui;
Expand Down

0 comments on commit 07a8424

Please sign in to comment.