3rdparty/bgfx: Fixed duplicate import of GL functions on Linux when using GLES 2.0. (#11596)

From bkaradzic/bgfx@66d50eb721

Fixes build when using GLES 2.0 and Wayland.
This commit is contained in:
Romain TISSERAND 2023-10-04 14:08:53 +02:00 committed by GitHub
parent 550632fd83
commit 52e5d735ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -584,6 +584,7 @@ GL_IMPORT_____x(true, PFNGLBLENDEQUATIONSEPARATEIPROC, glBlendEquati
GL_IMPORT_____x(true, PFNGLBLENDFUNCIPROC, glBlendFunci);
GL_IMPORT_____x(true, PFNGLBLENDFUNCSEPARATEIPROC, glBlendFuncSeparatei);
#if !BGFX_USE_GL_DYNAMIC_LIB
GL_IMPORT______(true, PFNGLDRAWBUFFERPROC, glDrawBuffer);
GL_IMPORT______(true, PFNGLREADBUFFERPROC, glReadBuffer);
GL_IMPORT______(true, PFNGLGENSAMPLERSPROC, glGenSamplers);
@ -592,6 +593,7 @@ GL_IMPORT______(true, PFNGLBINDSAMPLERPROC, glBindSampler
GL_IMPORT______(true, PFNGLSAMPLERPARAMETERFPROC, glSamplerParameterf);
GL_IMPORT______(true, PFNGLSAMPLERPARAMETERIPROC, glSamplerParameteri);
GL_IMPORT______(true, PFNGLSAMPLERPARAMETERFVPROC, glSamplerParameterfv);
#endif // !BGFX_USE_GL_DYNAMIC_LIB
GL_IMPORT_____x(true, PFNGLBINDBUFFERBASEPROC, glBindBufferBase);
GL_IMPORT_____x(true, PFNGLBINDBUFFERRANGEPROC, glBindBufferRange);