Fixed bug by assigning pointer to heap instead of stack
This commit is contained in:
parent
441efcd8dd
commit
81d592e6e0
8 changed files with 58 additions and 35 deletions
5
Makefile
5
Makefile
|
|
@ -14,9 +14,9 @@ SCMP=/c/VulkanSDK/1.2.141.2/Bin32/glslangValidator.exe
|
|||
|
||||
build: build_shaders
|
||||
$(CC) \
|
||||
-Wall \
|
||||
-g -fexceptions -fPIC \
|
||||
src/* \
|
||||
-std=c++17 \
|
||||
-std=c++14 \
|
||||
-DDEBUG=1 \
|
||||
-I"./external/" \
|
||||
-I"./src/" \
|
||||
|
|
@ -27,6 +27,7 @@ build: build_shaders
|
|||
|
||||
build_linux:
|
||||
g++ \
|
||||
-g -shared-libgcc \
|
||||
-Wall \
|
||||
src/* \
|
||||
-std=c++17 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue