Skip to content

Tag: runtime-error

WebGL: get error/warning message text as a string

When an error occurs within WebGL, a warning message is usually displayed in the browser’s console. For example, trying to create a texture which is too big: Chrome and Safari display this warning message in the console: Firefox displays this warning message: How can I programmatically obtain this messa…