Skip to content

Commit ac8d987

Browse files
yaustarsteveny-sc
andauthored
flip Y defaults to false (playcanvas#3345)
Co-authored-by: Steven Yau <syau@snapchat.com>
1 parent bab62d0 commit ac8d987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graphics/texture.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var _blockSizeTable = null;
7777
* seam fixing shader code to look right. Defaults to false.
7878
* @param {boolean} [options.flipY] - Specifies whether the texture should be flipped in the Y-direction. Only affects textures
7979
* with a source that is an image, canvas or video element. Does not affect cubemaps, compressed textures or textures set from raw
80-
* pixel data. Defaults to true.
80+
* pixel data. Defaults to false.
8181
* @param {boolean} [options.premultiplyAlpha] - If true, the alpha channel of the texture (if present) is multiplied into the color
8282
* channels. Defaults to false.
8383
* @param {boolean} [options.compareOnRead] - When enabled, and if texture format is {@link PIXELFORMAT_DEPTH} or {@link PIXELFORMAT_DEPTHSTENCIL},

0 commit comments

Comments
 (0)