egl: Add egl.def for win32 build.
Without the .def file, function names are decorated and cannot be queried by GetProcAddress easily.
This commit is contained in:
@@ -42,7 +42,7 @@ if env['platform'] != 'winddk':
|
||||
|
||||
egl = env.SharedLibrary(
|
||||
target = 'libEGL',
|
||||
source = egl_sources,
|
||||
source = egl_sources + ['egl.def'],
|
||||
)
|
||||
|
||||
env.InstallSharedLibrary(egl, version=(1, 4, 0))
|
||||
|
35
src/egl/main/egl.def
Normal file
35
src/egl/main/egl.def
Normal file
@@ -0,0 +1,35 @@
|
||||
EXPORTS
|
||||
eglBindAPI
|
||||
eglBindTexImage
|
||||
eglChooseConfig
|
||||
eglCopyBuffers
|
||||
eglCreateContext
|
||||
eglCreatePbufferFromClientBuffer
|
||||
eglCreatePbufferSurface
|
||||
eglCreatePixmapSurface
|
||||
eglCreateWindowSurface
|
||||
eglDestroyContext
|
||||
eglDestroySurface
|
||||
eglGetConfigAttrib
|
||||
eglGetConfigs
|
||||
eglGetCurrentContext
|
||||
eglGetCurrentDisplay
|
||||
eglGetCurrentSurface
|
||||
eglGetDisplay
|
||||
eglGetError
|
||||
eglGetProcAddress
|
||||
eglInitialize
|
||||
eglMakeCurrent
|
||||
eglQueryAPI
|
||||
eglQueryContext
|
||||
eglQueryString
|
||||
eglQuerySurface
|
||||
eglReleaseTexImage
|
||||
eglReleaseThread
|
||||
eglSurfaceAttrib
|
||||
eglSwapBuffers
|
||||
eglSwapInterval
|
||||
eglTerminate
|
||||
eglWaitClient
|
||||
eglWaitGL
|
||||
eglWaitNative
|
Reference in New Issue
Block a user