Fixed duplicate import of functions on Linux using gles20 (#3117)

Co-authored-by: Issam <issam.dahmen@fittingbox.com>
This commit is contained in:
issam3105 2023-09-09 17:25:07 +02:00 committed by GitHub
parent a3f67b6a04
commit 66d50eb721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -580,6 +580,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);
@ -588,6 +589,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);