Explorar o código

Fix default update inverty on elementTexture

sebavan %!s(int64=6) %!d(string=hai) anos
pai
achega
b698eb4d89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Materials/Textures/htmlElementTexture.ts

+ 1 - 1
src/Materials/Textures/htmlElementTexture.ts

@@ -135,7 +135,7 @@ export class HtmlElementTexture extends BaseTexture {
 
             this._engine.updateVideoTexture(this._texture,
                 videoElement,
-                invertY === null ? false : invertY);
+                invertY === null ? true : invertY);
         }
         else {
             const canvasElement = this.element as HTMLCanvasElement;