Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headless clients fail startup due to using GL.GetInteger in PreloadRsis #5163

Open
ShadowCommander opened this issue May 23, 2024 · 0 comments

Comments

@ShadowCommander
Copy link
Member

Headless clients are currently broken due to using an OpenGL binding in PreloadRsis.

Error:

You need to initialize the OpenGL binding first by calling LoadBindings() or creating a compatible OpenGL window.

GL.GetInteger

var maxSize = Math.Min(GL.GetInteger(GetPName.MaxTextureSize), _configurationManager.GetCVar(CVars.ResRSIAtlasSize));

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

No branches or pull requests

1 participant