mirror of https://github.com/odrling/Aegisub
lua: Fix FrameDestroy function name
This commit is contained in:
parent
e483c5e48f
commit
48855787a1
|
@ -258,7 +258,7 @@ namespace {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int FrameDestory(lua_State *L) {
|
int FrameDestroy(lua_State *L) {
|
||||||
std::shared_ptr<VideoFrame> frame = check_VideoFrame(L);
|
std::shared_ptr<VideoFrame> frame = check_VideoFrame(L);
|
||||||
frame.~shared_ptr<VideoFrame>();
|
frame.~shared_ptr<VideoFrame>();
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -282,7 +282,7 @@ namespace {
|
||||||
{"height", FrameHeight},
|
{"height", FrameHeight},
|
||||||
{"getPixel", FramePixel},
|
{"getPixel", FramePixel},
|
||||||
{"getPixelFormatted", FramePixelFormatted},
|
{"getPixelFormatted", FramePixelFormatted},
|
||||||
{"__gc", FrameDestory},
|
{"__gc", FrameDestroy},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue