Skip to content

link https://github.com/lapce/lapce/issues/2143#8

Open
Cliear wants to merge 1 commit intolapce:shell_openglfrom
Cliear:fix/lapce_startup_without_wgl_srgb
Open

link https://github.com/lapce/lapce/issues/2143#8
Cliear wants to merge 1 commit intolapce:shell_openglfrom
Cliear:fix/lapce_startup_without_wgl_srgb

Conversation

@Cliear
Copy link

@Cliear Cliear commented May 17, 2023

When lapce starts running, it checks the environment for WGL_ARB_framebuffer_sRGB or WGL_EXT_framebuffer_sRGB, and if not, and the requested srgb is true, it panic. So although srgb is not required, as long as the above two extensions are not available in the system environment, the program will panic.
In hyper-v,we can't find WGL_ARB_framebuffer_sRGB and WGL_EXT_framebuffer_sRGB,so it exited and caused the ucrt 0xc0000409 error.

@Cliear Cliear changed the title fixed [https://github.com/lapce/lapce/issues/2143] fixed [link https://github.com/lapce/lapce/issues/2143] May 17, 2023
@Cliear Cliear changed the title fixed [link https://github.com/lapce/lapce/issues/2143] link https://github.com/lapce/lapce/issues/2143 May 17, 2023
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.

1 participant

Comments