diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 923347cae..c5ae57d08 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -5006,6 +5006,7 @@ wrappedlibx11: - iFp: - XDestroyImage - XInitImage + - _XInitImageFuncPtrs - pFp: - XOpenDisplay - XSetErrorHandler diff --git a/src/wrapped/generated/wrappedlibx11types.h b/src/wrapped/generated/wrappedlibx11types.h index 0344f2523..7e1dbfbdd 100644 --- a/src/wrapped/generated/wrappedlibx11types.h +++ b/src/wrapped/generated/wrappedlibx11types.h @@ -32,6 +32,7 @@ typedef void* (*pFppiiuuuipii_t)(void*, void*, int32_t, int32_t, uint32_t, uint3 #define SUPER() ADDED_FUNCTIONS() \ GO(XDestroyImage, iFp_t) \ GO(XInitImage, iFp_t) \ + GO(_XInitImageFuncPtrs, iFp_t) \ GO(XOpenDisplay, pFp_t) \ GO(XSetErrorHandler, pFp_t) \ GO(XSetIOErrorHandler, pFp_t) \ diff --git a/src/wrapped/wrappedlibx11.c b/src/wrapped/wrappedlibx11.c index 83bed6c51..df4bb26f3 100644 --- a/src/wrapped/wrappedlibx11.c +++ b/src/wrapped/wrappedlibx11.c @@ -1278,6 +1278,12 @@ EXPORT void* my_XGetImage(x64emu_t* emu, void* disp, void* drawable, int32_t x, return img; } +EXPORT void my__XInitImageFuncPtrs(x64emu_t* emu, XImage* img) +{ + my->_XInitImageFuncPtrs(img); + BridgeImageFunc(emu, img); +} + EXPORT int32_t my_XPutImage(x64emu_t* emu, void* disp, void* drawable, void* gc, void* image , int32_t src_x, int32_t src_y, int32_t dst_x, int32_t dst_y , uint32_t w, uint32_t h) diff --git a/src/wrapped/wrappedlibx11_private.h b/src/wrapped/wrappedlibx11_private.h index 0e945e11c..72dc55e10 100644 --- a/src/wrapped/wrappedlibx11_private.h +++ b/src/wrapped/wrappedlibx11_private.h @@ -482,7 +482,7 @@ DATAB(_XInitDisplayLock_fn, sizeof(void*)) //GO(_XInitDynamicOM, GO(XInitExtension, pFpp) GOM(XInitImage, iFEp) -//GO(_XInitImageFuncPtrs, +GOM(_XInitImageFuncPtrs, iFEp) //GO(_XInitKeysymDB, GO(XInitThreads, iFv) GO(XInsertModifiermapEntry, pFpCi)