Skip to content

Commit 4a39068

Browse files
committed
flip textures
1 parent e4a37f5 commit 4a39068

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

static/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@
326326
alert("WebGL not supported, but code will be shown.");
327327

328328
} else {
329+
330+
gl.pixelStorei( gl.UNPACK_FLIP_Y_WEBGL, true );
329331

330332
// Create vertex buffer (2 triangles)
331333

0 commit comments

Comments
 (0)