File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,20 @@ const Framebuffer = Class.create(/** @lends Framebuffer.prototype */ {
130130 */
131131 magFilter : NEAREST ,
132132
133+ /**
134+ * texture wrapS
135+ * @type {GLenum }
136+ * @default gl.CLAMP_TO_EDGE
137+ */
138+ wrapS : CLAMP_TO_EDGE ,
139+
140+ /**
141+ * texture wrapS
142+ * @type {GLenum }
143+ * @default gl.CLAMP_TO_EDGE
144+ */
145+ wrapT : CLAMP_TO_EDGE ,
146+
133147 /**
134148 * texture data
135149 * @type {TypedArray }
@@ -364,8 +378,8 @@ const Framebuffer = Class.create(/** @lends Framebuffer.prototype */ {
364378 width : this . width ,
365379 height : this . height ,
366380 image : this . data ,
367- wrapS : CLAMP_TO_EDGE ,
368- wrapT : CLAMP_TO_EDGE
381+ wrapS : this . wrapS ,
382+ wrapT : this . wrapT
369383 } ) ;
370384
371385 const glTexture = texture . getGLTexture ( state ) ;
You can’t perform that action at this time.
0 commit comments