EBO implementation + resize + keyboard
This commit is contained in:
parent
988b0bdbcd
commit
748644b220
8 changed files with 188 additions and 24 deletions
4
make.py
4
make.py
|
|
@ -19,7 +19,7 @@ class Config:
|
|||
SOURCE_DIR = Path('src')
|
||||
|
||||
COMMON_FLAGS = '-std=c++17 -fno-semantic-interposition'
|
||||
COMMON_DEBUG_FLAGS = '-g'
|
||||
COMMON_DEBUG_FLAGS = '-g -DDEBUG'
|
||||
COMMON_RELEASE_FLAGS = '-O2' # -flto'
|
||||
COMPILE_FLAGS = f'-Wall -I{INCLUDE_DIR} `pkg-config --cflags glfw3 vulkan gl x11`'
|
||||
LINK_FLAGS = '-lpthread -ldl `pkg-config --libs glfw3 vulkan gl x11`'
|
||||
|
|
@ -41,7 +41,7 @@ def main():
|
|||
out_path.parent.mkdir(parents=True)
|
||||
shutil.copy(shader_path, out_path)
|
||||
|
||||
Config.PRE_COMPILE_FUNCTION = pre_compile
|
||||
# Config.PRE_COMPILE_FUNCTION = pre_compile
|
||||
make(Config)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue