read fragment shader from file at argument path

This commit is contained in:
2025-09-12 19:39:24 +02:00
parent f90e842bd8
commit ff0a4ebdae
5 changed files with 45 additions and 26 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ build:
gcc -Wall -Wextra src/*.c src/*.h -lglfw -lGL -lm -Iinclude -ldl -o build/$(TARGET)
run: build
./build/forge
./build/forge --frag=./shaders/frag.glsl
.PHONY: install
install: build