fixing wrong variable use

This commit is contained in:
2025-03-02 21:39:13 +01:00
parent 9771dcc530
commit 8abb2b710c

View File

@@ -23,7 +23,7 @@ bool SoftLoadBackend(PulseBackend backend, PulseDebugLevel debug_level)
PULSE_UNUSED(debug_level); PULSE_UNUSED(debug_level);
SoftDriverData* driver_data = (SoftDriverData*)calloc(1, sizeof(SoftDriverData)); SoftDriverData* driver_data = (SoftDriverData*)calloc(1, sizeof(SoftDriverData));
PULSE_CHECK_ALLOCATION_RETVAL(driver_data, false); PULSE_CHECK_ALLOCATION_RETVAL(driver_data, false);
WebGPUDriver.driver_data = driver_data; SoftwareDriver.driver_data = driver_data;
return true; return true;
} }