Remove mjrContext from FilamentContext.

Setting values in the mjrContext is only useful for the classic
renderer.

PiperOrigin-RevId: 890345656
Change-Id: Ie3d34dc260d13f74b569dcf575e88dde894d652b
This commit is contained in:
Haroon Qureshi
2026-03-27 03:12:37 -07:00
committed by Copybara-Service
parent 9f5fc99711
commit f7fb23084d
3 changed files with 4 additions and 27 deletions
@@ -49,7 +49,7 @@ void mjrf_makeFilamentContext(const mjModel* m, mjrContext* con,
if (g_filament_context != nullptr) {
mju_error("Context already exists!");
}
g_filament_context = new mujoco::FilamentContext(config, m, con);
g_filament_context = new mujoco::FilamentContext(config, m);
}
void mjrf_defaultContext(mjrContext* con) {