EGL/egl.h is missing definition of IMG_CALLCONV
madebr opened this issue · comments
Anonymous Maarten commented
The file EGL/egl.h
defines APIENTRY
as IMG_CALLCONV
:
Lines 26 to 28 in 7f5a95d
But this file does not define IMG_CALLCONV
anywhere, and does not include an external file to define it.
It is defined here:
So I think EGL/egl.h
is missing the following (or something similar)
#include <gpu_es4/eurasia/include4/img_defs.h>
This causes issues when using PVR_PSP2 with the upcoming SDL3.
See libsdl-org/SDL#7123
For SDL3, I fixed it by adding the following to EGL/egl.h
:
#ifndef IMG_CALLCONV
#define IMG_CALLCONV
#endif
GrapheneCt commented
Fixed by removing IMG definitions dependency.