wawawawawawawa

forgot to enabel some stuff
This commit is contained in:
Mohamed Ashraf 2026-03-25 09:28:39 +04:00
parent b04b2d70fc
commit 1408a56ddc
2 changed files with 7 additions and 1 deletions

View file

@ -23,7 +23,9 @@
#include <stdio.h>
#include <sys/time.h>
#include <locale>
#ifndef __EMSCRIPTEN__
#include <linux/mman.h>
#endif // __EMSCRIPTEN__
#include <sys/mman.h>
#include <codecvt>
@ -35,4 +37,4 @@
#include "iggy_stubs.h"
#endif
#endif // STUBS_H
#endif // STUBS_H

View file

@ -47,10 +47,14 @@ global_cpp_args = [
if host_machine.system() == 'emscripten'
add_project_arguments(
'-pthread',
'--use-port=zlib',
'-sUSE_SDL=2',
'--use-port=sdl2',
language: 'cpp'
)
add_project_link_arguments(
'-sUSE_SDL=2',
'-sUSE_WEBGL2=1',
'-sLEGACY_GL_EMULATION=1',
'-sALLOW_MEMORY_GROWTH=1',