Ensure we get a debug context as appropriate in glx. (#1034)
Ensure we get a debug context as appropriate in glx. (#1034)

If BGFX_CONFIG_DEBUG is defined, get a GL debug context. This mirrors the
behavior from wgl, and allows KHR_debug/ARB_debug_output messages to work.
mmicko/bgfx,fluffyfreak/bgfx,mendsley/bgfx,fluffyfreak/bgfx,Synxis/bgfx,jpcy/bgfx,jdryg/bgfx,mendsley/bgfx,MikePopoloski/bgfx,LWJGL-CI/bgfx,LWJGL-CI/bgfx,jpcy/bgfx,bkaradzic/bgfx,septag/bgfx,jpcy/bgfx,mmicko/bgfx,emoon/bgfx,bkaradzic/bgfx,MikePopoloski/bgfx,Synxis/bgfx,LWJGL-CI/bgfx,septag/bgfx,emoon/bgfx,jpcy/bgfx,jdryg/bgfx,jdryg/bgfx,septag/bgfx,fluffyfreak/bgfx,bkaradzic/bgfx,attilaz/bgfx,jdryg/bgfx,MikePopoloski/bgfx,fluffyfreak/bgfx,LWJGL-CI/bgfx,Synxis/bgfx,attilaz/bgfx,attilaz/bgfx,emoon/bgfx,mmicko/bgfx,bkaradzic/bgfx,mendsley/bgfx