impr: Add more broader support for GLES3

Closes #2608
This commit is contained in:
WerWolv
2026-01-10 11:49:58 +01:00
parent 25ab371a81
commit 9e165ac4a1

View File

@@ -483,7 +483,7 @@ static void ImGui_ImplOpenGL3_SetupRenderState(ImDrawData* draw_data, int fb_wid
glEnable(GL_BLEND);
glBlendEquation(GL_FUNC_ADD);
// IMHEX PATCH BEGIN
#if !defined(__EMSCRIPTEN__)
#if !defined(IMGUI_IMPL_OPENGL_ES3)
if (useFontShaders) {
glBlendFuncSeparate(GL_SRC1_COLOR, GL_ONE_MINUS_SRC1_COLOR,GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
} else {