mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-07-01 14:15:16 +02:00
Give Graphics.screenshot the correct pointer (fixes #51)
This commit is contained in:
parent
725d593db3
commit
3124395cf8
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ RB_METHOD(graphicsScreenshot)
|
|||
rb_thread_call_without_gvl([](void* fn) -> void* {
|
||||
graphicsScreenshotInternal((const char*)fn);
|
||||
return 0;
|
||||
}, (void*)filename, 0, 0);
|
||||
}, (void*)RSTRING_PTR(filename), 0, 0);
|
||||
#else
|
||||
graphicsScreenshotInternal(RSTRING_PTR(filename));
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue