mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Fix WebXR on desktop emulator by reseting active texture unit
This commit is contained in:
parent
4363ae34fa
commit
67d8102f95
@ -2497,6 +2497,8 @@ void RasterizerSceneGLES3::render_scene(const Ref<RenderSceneBuffers> &p_render_
|
||||
}
|
||||
glDisable(GL_BLEND);
|
||||
texture_storage->render_target_disable_clear_request(rb->render_target);
|
||||
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
}
|
||||
|
||||
template <PassMode p_pass_mode>
|
||||
|
Loading…
Reference in New Issue
Block a user