@@ -206,7 +206,7 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
206
206
var currentStencilFunc = null ;
207
207
var currentStencilRef = null ;
208
208
var currentStencilFuncMask = null ;
209
- var currentStencilFail = null ;
209
+ var currentStencilFail = null ;
210
210
var currentStencilZFail = null ;
211
211
var currentStencilZPass = null ;
212
212
var currentStencilClear = null ;
@@ -244,10 +244,10 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
244
244
currentStencilRef !== stencilRef ||
245
245
currentStencilFuncMask !== stencilMask ) {
246
246
247
- gl . stencilFunc ( stencilFunc , stencilRef , stencilMask ) ;
247
+ gl . stencilFunc ( stencilFunc , stencilRef , stencilMask ) ;
248
248
249
249
currentStencilFunc = stencilFunc ;
250
- currentStencilRef = stencilRef ;
250
+ currentStencilRef = stencilRef ;
251
251
currentStencilFuncMask = stencilMask ;
252
252
253
253
}
@@ -260,9 +260,9 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
260
260
currentStencilZFail !== stencilZFail ||
261
261
currentStencilZPass !== stencilZPass ) {
262
262
263
- gl . stencilOp ( stencilFail , stencilZFail , stencilZPass ) ;
263
+ gl . stencilOp ( stencilFail , stencilZFail , stencilZPass ) ;
264
264
265
- currentStencilFail = stencilFail ;
265
+ currentStencilFail = stencilFail ;
266
266
currentStencilZFail = stencilZFail ;
267
267
currentStencilZPass = stencilZPass ;
268
268
0 commit comments