Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fschutt/3c7c7e585cccff7e623d0945f6791301 to your computer and use it in GitHub Desktop.
Save fschutt/3c7c7e585cccff7e623d0945f6791301 to your computer and use it in GitHub Desktop.
How to fix the WebRender MaxTextureSize error (error code 1282)
If you are using WebRender and you get a MaxTextureSize error,
the problem is that the OpenGL context is broken. When calling
Renderer::new(), the context you are binding to *must be current*.
Otherwise, Renderer::new() will crash with a assert!(0, 1282) in
debug and a MaxTextureSize error in release mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment