fix(render): remove duplicate blendMode declaration and add mock activeTexture

This commit is contained in:
troytt 2026-09-23 05:56:33 +00:00
parent da24f9944f
commit 88bb16238d
2 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,6 @@ export class SpriteRenderer {
/** Listener references for cleanup. */
private readonly handleContextLost: (event: Event) => void
private readonly handleContextRestored: () => void
private currentBlendMode: 'normal' | 'additive' = 'normal'
/**
* @param canvas - the canvas to render into.

View File

@ -956,6 +956,7 @@ describe('Diablo II 1.13c Missile Skills Suite', () => {
vertexAttribPointer: () => {},
createTexture: () => ({ id: nextId++ }),
bindTexture: () => {},
activeTexture: () => {},
texParameteri: () => {},
pixelStorei: () => {},
texImage2D: () => {},