mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 23:19:06 +00:00
added a note to texture loader, uncommented preloader
This commit is contained in:
parent
258a236dde
commit
bc06e229ea
2 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,7 @@ const Game = () => {
|
|||
className="main-canvas"
|
||||
>
|
||||
<Suspense fallback={null}>
|
||||
{/* <Preloader /> */}
|
||||
<Preloader />
|
||||
{dispatchScene[currentScene as keyof typeof dispatchScene]}
|
||||
<InputHandler />
|
||||
</Suspense>
|
||||
|
|
|
@ -13,6 +13,8 @@ import {
|
|||
|
||||
custom implementation of TextureLoader that automatically sets minFilter to NearestFilter for proper WebGL1 support.
|
||||
|
||||
this is still experimental
|
||||
|
||||
*/
|
||||
export class CustomTextureLoader extends Loader {
|
||||
load = (
|
||||
|
|
Loading…
Reference in a new issue