Skip to content

Commit

Permalink
Added GLFW, refactored main.c, update viewport and resolution only on…
Browse files Browse the repository at this point in the history
… actual window change (tsoding#19).
  • Loading branch information
torgo7 committed Sep 27, 2022
1 parent c7fb61a commit 0771399
Show file tree
Hide file tree
Showing 2 changed files with 250 additions and 223 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -xe

CC="${CXX:-cc}"
PKGS="sdl2 glew freetype2"
PKGS="sdl2 glew freetype2 glfw3"
CFLAGS="-Wall -Wextra -std=c11 -pedantic -ggdb"
LIBS=-lm
SRC="src/main.c src/la.c src/editor.c src/sdl_extra.c src/file.c src/gl_extra.c src/free_glyph.c src/cursor_renderer.c src/uniforms.c"
Expand Down
Loading

0 comments on commit 0771399

Please sign in to comment.