mirror of
https://github.com/godotengine/godot
synced 2024-09-05 04:38:26 +00:00
Merge pull request #84267 from dsnopek/fix-webxr-emulator-with-no-2d
Fix WebXR on desktop emulator by reseting active texture unit
This commit is contained in:
commit
1bd46fe7ff
|
@ -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 a new issue