mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
egl: hide entrypoints that shouldn't be exported when using glvnd
From GLVND author: > From a functional standpoint, exporting additional symbols doesn't > really matter, since libglvnd will load the vendor libraries with > RTLD_LOCAL. Suggested-by: Kyle Brenneman <kbrenneman@nvidia.com> Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Acked-by: Kyle Brenneman <kbrenneman@nvidia.com>
This commit is contained in:
parent
fea0caea2b
commit
8d9c2044a4
1 changed files with 6 additions and 0 deletions
|
|
@ -83,6 +83,12 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifdef USE_LIBGLVND
|
||||
#define EGLAPI
|
||||
#undef PUBLIC
|
||||
#define PUBLIC
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue