diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-07-18 17:21:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-07-18 17:21:27 -0700 |
commit | a8ffd30399bb7bdce72fbfe6f337f3c08278fcfa (patch) | |
tree | 4c5b58bc0cf55b62979e0d3d7414373999fffe18 /tests/emscripten_fs_api_browser.cpp | |
parent | 188d8081144c7e655da77fbaabac8f57f13ccf35 (diff) |
fix relative paths in preloading and add testing
Diffstat (limited to 'tests/emscripten_fs_api_browser.cpp')
-rw-r--r-- | tests/emscripten_fs_api_browser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emscripten_fs_api_browser.cpp b/tests/emscripten_fs_api_browser.cpp index bfe33213..7757ef8a 100644 --- a/tests/emscripten_fs_api_browser.cpp +++ b/tests/emscripten_fs_api_browser.cpp @@ -12,7 +12,7 @@ int get_count = 0; void wait_wgets() { if (get_count == 3) { - assert(IMG_Load("screen_shot.png")); + assert(IMG_Load("/tmp/screen_shot.png")); emscripten_cancel_main_loop(); REPORT_RESULT(); } |