This commit is contained in:
Nikola Petrov 2024-03-30 23:38:53 +01:00
parent 62f98d381a
commit 09d1b0f5b0
3 changed files with 7 additions and 4 deletions

5
.gitignore vendored
View File

@ -3,4 +3,7 @@ obj/
rl/
raylib/
emsdk/
build
build
main.html
main.js
main.wasm

View File

@ -195,8 +195,6 @@ int main(int argc, char const *argv[])
return 0;
}
std::filesystem::create_directory(OBJ_DIR);
if (!std::filesystem::is_directory(RAYLIB_DIR))
{
command = {"git", "clone", "--depth", "1", "--branch", "5.0", "git@github.com:raysan5/raylib.git"};
@ -225,6 +223,8 @@ int main(int argc, char const *argv[])
BUILD_FILE = BUILD_FILE.replace_extension(".html");
}
std::filesystem::create_directory(OBJ_DIR);
compile_raylib_dir();
if (compile_src_dir())

View File

@ -18,7 +18,7 @@ void UpdateDrawFrame()
int main(void)
{
char name[] = "treender";
int screenWidth = 800;
int screenWidth = 600;
int screenHeight = 800;
#ifdef PLATFORM_ANDROID