stb_image dependency
parent
56ceccfea5
commit
7a7a4dff7d
|
@ -4,11 +4,12 @@
|
||||||
|
|
||||||
module stbi
|
module stbi
|
||||||
|
|
||||||
#include "glad.h"
|
|
||||||
import gl
|
import gl
|
||||||
|
|
||||||
|
#flag linux -I$HOME/code/v/thirdparty/stb_image
|
||||||
|
|
||||||
#define STB_IMAGE_IMPLEMENTATION
|
#define STB_IMAGE_IMPLEMENTATION
|
||||||
#include <stb_image.h>
|
#include "stb_image.h"
|
||||||
struct Image {
|
struct Image {
|
||||||
mut:
|
mut:
|
||||||
width int
|
width int
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue