Skip to content

Commit 3268fe2

Browse files
committed
Demo bugfixes
1 parent 1de60a5 commit 3268fe2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

demodir/termgl_demo.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void demo_teapot(const unsigned res_x, const unsigned res_y, const unsigned fram
178178

179179
// Load triangles
180180
TGLTriangle *trigs;
181-
FILE *stl_file = fopen("test/utah_teapot.stl", "rb");
181+
FILE *stl_file = fopen("demodir/utah_teapot.stl", "rb");
182182
assert(stl_file);
183183
uint32_t n_trigs = stl_load(stl_file, &trigs);
184184
fclose(stl_file);
@@ -323,8 +323,6 @@ void demo_color(const unsigned res_x, const unsigned res_y, const unsigned frame
323323
tgl_delete(tgl);
324324
}
325325

326-
#include <windows.h>
327-
328326
int main(int argc, char **argv)
329327
{
330328
(void)argc;

0 commit comments

Comments
 (0)