aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/solaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/solaris.c')
-rw-r--r--Alc/backends/solaris.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Alc/backends/solaris.c b/Alc/backends/solaris.c
index 3150b4fe..c3c2a86f 100644
--- a/Alc/backends/solaris.c
+++ b/Alc/backends/solaris.c
@@ -329,13 +329,8 @@ ALCbackend* ALCsolarisBackendFactory_createBackend(ALCsolarisBackendFactory* UNU
if(type == ALCbackend_Playback)
{
ALCsolarisBackend *backend;
-
- backend = ALCsolarisBackend_New(sizeof(*backend));
+ NEW_OBJ(backend, ALCsolarisBackend)(device);
if(!backend) return NULL;
- memset(backend, 0, sizeof(*backend));
-
- ALCsolarisBackend_Construct(backend, device);
-
return STATIC_CAST(ALCbackend, backend);
}