emscripten-core / emscripten-core/emscripten

webgl(2): renderViaOffscreenBackBuffer fails because of glBindSampler left over state.

Open
#13,808 1 comment 0 reactions 0 assignees View on GitHub
wontfix
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Hello, i've got a problem with renderViaOffscreenBackBuffer enabled. When i have set a sampler with `glBindSampler`, and didn't clear it before 'emscripten_webgl_commit_frame()', slow path of `blitOffscreenFramebuffer` function in emscripten fails its `draw` step. (might be because there's inconsistency with internal texture format or something )

I think this is a bug in emscripten itself... what do you think?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.