chore: deprecation
This commit is contained in:
parent
962f867ed9
commit
e9da3871a4
|
@ -2,7 +2,7 @@ import {
|
|||
Stage as PixiStage,
|
||||
} from '@pixi/react';
|
||||
import {SCALE_MODES} from '@pixi/constants';
|
||||
import {settings} from '@pixi/settings';
|
||||
import {BaseTexture} from '@pixi/core';
|
||||
|
||||
import {RESOLUTION} from '@/constants.js';
|
||||
import ClientContext from '@/context/client.js';
|
||||
|
@ -10,7 +10,7 @@ import ClientContext from '@/context/client.js';
|
|||
import Ecs from './ecs.jsx';
|
||||
import styles from './pixi.module.css';
|
||||
|
||||
settings.SCALE_MODE = SCALE_MODES.NEAREST;
|
||||
BaseTexture.defaultOptions.scaleMode = SCALE_MODES.NEAREST;
|
||||
|
||||
const ContextBridge = ({ children, Context, render }) => {
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue
Block a user