提交 433fcae9 编写于 作者: Z Zhang Rui

ijksdl/ios/add autoreleasepool

上级 afa4b29a
......@@ -93,10 +93,12 @@ static int voud_display_overlay_l(SDL_Vout *vout, SDL_VoutOverlay *overlay)
static int voud_display_overlay(SDL_Vout *vout, SDL_VoutOverlay *overlay)
{
SDL_LockMutex(vout->mutex);
int retval = voud_display_overlay_l(vout, overlay);
SDL_UnlockMutex(vout->mutex);
return retval;
@autoreleasepool {
SDL_LockMutex(vout->mutex);
int retval = voud_display_overlay_l(vout, overlay);
SDL_UnlockMutex(vout->mutex);
return retval;
}
}
SDL_Vout *SDL_VoutIos_CreateForGLES2()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册