mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
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:
parent
550632fd83
commit
52e5d735ce
2
3rdparty/bgfx/src/glimports.h
vendored
2
3rdparty/bgfx/src/glimports.h
vendored
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user