remove redundant directory

This commit is contained in:
ktyl 2021-08-02 19:43:05 +01:00
parent 4e0dc502ee
commit d82e74bd10
6 changed files with 5 additions and 6 deletions

View File

@ -1,12 +1,11 @@
SRC_DIR = src
BIN_DIR = bin
RES_DIR = res
SHADER_DIR = shader
SHADER_DIR = $(RES_DIR)/shader
SHADER_QUAD_DIR = $(SHADER_DIR)/quad
SHADER_ROOT_DIR = $(SHADER_DIR)/root
SHADER_INCLUDE_DIR = $(SHADER_DIR)/include
SHADER_TARGET_DIR = $(BIN_DIR)/$(RES_DIR)
SHADER_TARGET_DIR = $(BIN_DIR)
# find files in SHADER_ROOT_DIR
# top level compute shader programs

View File

@ -26,10 +26,10 @@ int main()
// compile shader programs
unsigned int computeProgram = compileComputeShaderProgram(
"bin/res/rt.compute");
"bin/rt.compute");
unsigned int quadProgram = compileQuadShaderProgram(
"bin/res/shader.vert",
"bin/res/shader.frag");
"bin/shader.vert",
"bin/shader.frag");
// initialise quad
initBuffers();