fix
This commit is contained in:
parent
62f98d381a
commit
09d1b0f5b0
5
.gitignore
vendored
5
.gitignore
vendored
@ -3,4 +3,7 @@ obj/
|
|||||||
rl/
|
rl/
|
||||||
raylib/
|
raylib/
|
||||||
emsdk/
|
emsdk/
|
||||||
build
|
build
|
||||||
|
main.html
|
||||||
|
main.js
|
||||||
|
main.wasm
|
@ -195,8 +195,6 @@ int main(int argc, char const *argv[])
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::filesystem::create_directory(OBJ_DIR);
|
|
||||||
|
|
||||||
if (!std::filesystem::is_directory(RAYLIB_DIR))
|
if (!std::filesystem::is_directory(RAYLIB_DIR))
|
||||||
{
|
{
|
||||||
command = {"git", "clone", "--depth", "1", "--branch", "5.0", "git@github.com:raysan5/raylib.git"};
|
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");
|
BUILD_FILE = BUILD_FILE.replace_extension(".html");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::filesystem::create_directory(OBJ_DIR);
|
||||||
|
|
||||||
compile_raylib_dir();
|
compile_raylib_dir();
|
||||||
|
|
||||||
if (compile_src_dir())
|
if (compile_src_dir())
|
||||||
|
@ -18,7 +18,7 @@ void UpdateDrawFrame()
|
|||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
char name[] = "treender";
|
char name[] = "treender";
|
||||||
int screenWidth = 800;
|
int screenWidth = 600;
|
||||||
int screenHeight = 800;
|
int screenHeight = 800;
|
||||||
|
|
||||||
#ifdef PLATFORM_ANDROID
|
#ifdef PLATFORM_ANDROID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user