|
@@ -11,7 +11,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
|
|
|
const maxTextureSize = capabilities.maxTextureSize;
|
|
|
const maxSamples = capabilities.maxSamples;
|
|
|
const multisampledRTTExt = extensions.has( 'WEBGL_multisampled_render_to_texture' ) ? extensions.get( 'WEBGL_multisampled_render_to_texture' ) : null;
|
|
|
- const supportsInvalidateFramenbuffer = /OculusBrowser/g.test( navigator.userAgent );
|
|
|
+ const supportsInvalidateFramebuffer = /OculusBrowser/g.test( navigator.userAgent );
|
|
|
|
|
|
const _videoTextures = new WeakMap();
|
|
|
let _canvas;
|
|
@@ -1716,7 +1716,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
|
|
|
|
|
|
_gl.blitFramebuffer( 0, 0, width, height, 0, 0, width, height, mask, _gl.NEAREST );
|
|
|
|
|
|
- if ( supportsInvalidateFramenbuffer ) {
|
|
|
+ if ( supportsInvalidateFramebuffer ) {
|
|
|
|
|
|
_gl.invalidateFramebuffer( _gl.READ_FRAMEBUFFER, invalidationArray );
|
|
|
|