summaryrefslogtreecommitdiffstats
path: root/modules/opus/register_types.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/opus/register_types.cpp')
-rw-r--r--modules/opus/register_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/opus/register_types.cpp b/modules/opus/register_types.cpp
index f34555841e..3367fc1090 100644
--- a/modules/opus/register_types.cpp
+++ b/modules/opus/register_types.cpp
@@ -32,7 +32,7 @@
#include "audio_stream_opus.h"
-static ResourceFormatLoaderAudioStreamOpus *opus_stream_loader = NULL;
+static Ref<ResourceFormatLoaderAudioStreamOpus> opus_stream_loader;
void register_opus_types() {
// Sorry guys, do not enable this unless you can figure out a way