summaryrefslogtreecommitdiff
path: root/src/renderer/render.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-06 20:14:22 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-06 20:14:22 +1100
commit113b038b703aeef545e86700afd6dc2095015e84 (patch)
tree2e10b1fa3ae9db2f53880013c132ed64c482a936 /src/renderer/render.c
parent6793c8317208bc2c8cb878554eeff166a418b2f2 (diff)
use 0 in stbi_load again. need to investigate more later
Diffstat (limited to 'src/renderer/render.c')
-rw-r--r--src/renderer/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/render.c b/src/renderer/render.c
index 2f5e553..806979d 100644
--- a/src/renderer/render.c
+++ b/src/renderer/render.c
@@ -242,7 +242,7 @@ texture texture_data_load(const char* path, bool invert_y) {
stbi_set_flip_vertically_on_load(invert_y);
#pragma GCC diagnostic ignored "-Wpointer-sign"
- char* data = stbi_load(path, &width, &height, &num_channels, STBI_rgb_alpha);
+ char* data = stbi_load(path, &width, &height, &num_channels, 0); // STBI_rgb_alpha);
if (data) {
DEBUG("loaded texture: %s", path);
} else {