In Java_com_sun_prism_es2_X11GLContext_nInitialize, ctxInfo->glXSwapIntervalSGI is assigned the result of a glXGetProcAddress call, but the pointer types are not necessarily compatible (it's void (*) (void) vs int (*) (int) in our builds).
This causes a build failure with GCC 14 and presumably Clang.
This causes a build failure with GCC 14 and presumably Clang.