Setting BGFX_OPENGL_VERSION sets BGFX_CONFIG_RENDERER_OPENGL. The problem with this is that, while bgfx has logic for enabling the correct renderers depending on the host, enabling/disabling any renderer manually completely disables that logic.
The correct way to do this now is with BGFX_CONFIG_RENDERER_OPENGL_MIN_VERSION which doesn't affect the preprocessor logic.
Setting
BGFX_OPENGL_VERSION
setsBGFX_CONFIG_RENDERER_OPENGL
. The problem with this is that, while bgfx has logic for enabling the correct renderers depending on the host, enabling/disabling any renderer manually completely disables that logic.The correct way to do this now is with
BGFX_CONFIG_RENDERER_OPENGL_MIN_VERSION
which doesn't affect the preprocessor logic.I also added the same thing for OpenGL ES.