Create material using correct texture source.

This commit is contained in:
jussi
2022-07-26 16:33:04 +03:00
parent 314d0412a5
commit 4f54a0a499
9 changed files with 21 additions and 7 deletions

View File

@@ -215,7 +215,7 @@ ReiLua
||\main.lua
```
We can now build the game. You can use the command it top of the "CMakeLists.txt" to use emsdk toolchain with cmake. Remember to replace \<YOUR PATH HERE> with correct path.
We can now build the game. You can use the command in the top of the "CMakeLists.txt" to use emsdk toolchain with cmake. Remember to replace \<YOUR PATH HERE> with correct path.
```
cmake .. -DCMAKE_TOOLCHAIN_FILE=<YOUR PATH HERE>/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DPLATFORM=Web