chore: deprecation

This commit is contained in:
cha0s 2024-06-13 21:00:30 -05:00
parent 962f867ed9
commit e9da3871a4

View File

@ -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 (