dril: Fix return types of peglInitialize and peglTerminate
Fix return types of peglInitialize and peglTerminate to match eglInitialize and eglTerminate Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31106>
This commit is contained in:

committed by
Marge Bot

parent
b4ae6eb5fc
commit
397adfd453
@@ -337,8 +337,8 @@ init_dri2_configs(int fd)
|
||||
|
||||
void * (*peglGetProcAddress)(const char *) = dlsym(egl, "eglGetProcAddress");
|
||||
EGLDisplay (*peglGetPlatformDisplayEXT)(EGLenum, void *, const EGLint *) = peglGetProcAddress("eglGetPlatformDisplayEXT");
|
||||
EGLDisplay (*peglInitialize)(EGLDisplay, int*, int*) = peglGetProcAddress("eglInitialize");
|
||||
void (*peglTerminate)(EGLDisplay) = peglGetProcAddress("eglTerminate");
|
||||
EGLBoolean (*peglInitialize)(EGLDisplay, int*, int*) = peglGetProcAddress("eglInitialize");
|
||||
EGLBoolean (*peglTerminate)(EGLDisplay) = peglGetProcAddress("eglTerminate");
|
||||
EGLBoolean (*peglGetConfigs)(EGLDisplay, EGLConfig*, EGLint, EGLint*) = peglGetProcAddress("eglGetConfigs");
|
||||
EGLBoolean (*peglGetConfigAttrib)(EGLDisplay, EGLConfig, EGLint, EGLint *) = peglGetProcAddress("eglGetConfigAttrib");
|
||||
const char *(*peglQueryString)(EGLDisplay, EGLint) = peglGetProcAddress("eglQueryString");
|
||||
|
Reference in New Issue
Block a user