Skip to content

Commit 07a8424

Browse files
musshornwjakob
authored andcommitted
Add missing defines for STB
1 parent 042db51 commit 07a8424

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/example1.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
#include <nanogui/renderpass.h>
3939
#include <iostream>
4040
#include <memory>
41+
42+
#define STB_IMAGE_STATIC
43+
#define STB_IMAGE_IMPLEMENTATION
4144
#include <stb_image.h>
4245

4346
using namespace nanogui;

0 commit comments

Comments
 (0)