emscripten-core / emscripten-core/emscripten
GLFW created MSAA enabled frame buffer by default.
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
I need an ability to initiate default FBO (screen) with no multisampled render target. I need it because I have my own offscreen FBO which is MSAA and I resolve it into the screen FBO.but the blitting operation fails apparantely because of that. [Here is ](https://stackoverflow.com/questions/47934444/webgl-framebuffer-multisampling)related issue discussed on SO
I need basically to do this:
`canvas.getContext("webgl2", {antialias: false});`
The error I am getting in webgl when blitting is:
**GL_INVALID_OPERATION: Attempt to blit from a multisampled framebuffer and the bounds or format of the color buffer don't match with the draw framebuffer.**
How do I do it with GLFW in the backend?
Contributor guide
Assessment
This issue has not been assessed yet.