Skip to content

Commit

Permalink
Demo bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-graj committed Jan 30, 2022
1 parent 1de60a5 commit 3268fe2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions demodir/termgl_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void demo_teapot(const unsigned res_x, const unsigned res_y, const unsigned fram

// Load triangles
TGLTriangle *trigs;
FILE *stl_file = fopen("test/utah_teapot.stl", "rb");
FILE *stl_file = fopen("demodir/utah_teapot.stl", "rb");
assert(stl_file);
uint32_t n_trigs = stl_load(stl_file, &trigs);
fclose(stl_file);
Expand Down Expand Up @@ -323,8 +323,6 @@ void demo_color(const unsigned res_x, const unsigned res_y, const unsigned frame
tgl_delete(tgl);
}

#include <windows.h>

int main(int argc, char **argv)
{
(void)argc;
Expand Down

0 comments on commit 3268fe2

Please sign in to comment.