Completed bc2e8d99e5
so that windows can be built
This commit is contained in:
parent
bc2e8d99e5
commit
ac92c147c6
2 changed files with 2 additions and 2 deletions
|
@ -214,7 +214,7 @@ void AudioDriverWASAPI::thread_func(void *p_udata) {
|
|||
if (ad->active) {
|
||||
ad->lock();
|
||||
|
||||
ad->audio_server_process(ad->buffer_frames, ad->samples_in.ptr());
|
||||
ad->audio_server_process(ad->buffer_frames, ad->samples_in.ptrw());
|
||||
|
||||
ad->unlock();
|
||||
} else {
|
||||
|
|
|
@ -1843,7 +1843,7 @@ Error OS_Windows::execute(const String &p_path, const List<String> &p_arguments,
|
|||
modstr.resize(cmdline.size());
|
||||
for (int i = 0; i < cmdline.size(); i++)
|
||||
modstr[i] = cmdline[i];
|
||||
int ret = CreateProcessW(NULL, modstr.ptr(), NULL, NULL, 0, NORMAL_PRIORITY_CLASS, NULL, NULL, si_w, &pi.pi);
|
||||
int ret = CreateProcessW(NULL, modstr.ptrw(), NULL, NULL, 0, NORMAL_PRIORITY_CLASS, NULL, NULL, si_w, &pi.pi);
|
||||
ERR_FAIL_COND_V(ret == 0, ERR_CANT_FORK);
|
||||
|
||||
if (p_blocking) {
|
||||
|
|
Loading…
Reference in a new issue