You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first time a WebGLContext is created this goes correctly. But when a lost WebGLContext was restored by Chrome and I'm getting the MAX_TEXTURE_MAX_ANISOTROPY_EXT parameter the following error message is thrown: error in getParameter(MAX_TEXTURE_MAX_ANISOTROPY_EXT): INVALID_ENUM
The extension is enabled because getExtension('EXT_texture_filter_anisotropic').MAX_TEXTURE_MAX_ANISOTROPY_EXT is 34047.
PS: The same problem is happening with gl.texParameteri(gl.TEXTURE_2D, tfaExt.TEXTURE_MAX_ANISOTROPY_EXT, 2)) resulting in the error message: error in getParameter(MAX_TEXTURE_MAX_ANISOTROPY_EXT): INVALID_ENUM
The text was updated successfully, but these errors were encountered:
The first time a WebGLContext is created this goes correctly. But when a lost WebGLContext was restored by Chrome and I'm getting the
MAX_TEXTURE_MAX_ANISOTROPY_EXT
parameter the following error message is thrown:error in getParameter(MAX_TEXTURE_MAX_ANISOTROPY_EXT): INVALID_ENUM
The extension is enabled because
getExtension('EXT_texture_filter_anisotropic').MAX_TEXTURE_MAX_ANISOTROPY_EXT
is34047
.My code:
PS: The same problem is happening with
gl.texParameteri(gl.TEXTURE_2D, tfaExt.TEXTURE_MAX_ANISOTROPY_EXT, 2))
resulting in the error message:error in getParameter(MAX_TEXTURE_MAX_ANISOTROPY_EXT): INVALID_ENUM
The text was updated successfully, but these errors were encountered: