remove redundant directory
This commit is contained in:
parent
4e0dc502ee
commit
d82e74bd10
5
makefile
5
makefile
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue