EBO implementation + resize + keyboard

This commit is contained in:
Corentin 2021-07-07 00:51:33 +09:00
commit 748644b220
8 changed files with 188 additions and 24 deletions

View file

@ -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)