Skip to content

Fix Filament OpenGL window setup on Windows - #3567

Open
sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/studio-filament-windows-pixel-format
Open

sylvesterkaczmarek wants to merge 1 commit into
google-deepmind:mainfrom
sylvesterkaczmarek:fix/studio-filament-windows-pixel-format

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown
Contributor

Fixes #3533.

On Windows, avoid SDL_WINDOW_OPENGL for Filament OpenGL. SDL otherwise assigns the window WGL pixel format before Filament creates its own context, which can leave Filament with an incompatible pixel format. Classic OpenGL and non-Windows paths are unchanged.

git diff --check passes. Windows/AMD runtime validation requires affected hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mujoco_studio crashes on Windows + AMD: wglMakeCurrent failed (error 2000)

1 participant