Skip to content

Commit

Permalink
build(core): disable OpenAL by default
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Mar 9, 2024
1 parent 074ff7f commit 8c4544d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if(WITH_GLFW)
option(GLFW_USE_SUBMODULE "Compile GLFW from source?" ON)
endif()

option(WITH_OPENAL "With OpenAL?" ON)
option(WITH_OPENAL "With OpenAL?" OFF)
option(GLM_USE_SUBMODULE "Compile GLM from source?" ON)

set(CUBOS_CORE_ECS_MAX_COMPONENTS "63" CACHE STRING "The maximum number of components registered in an ECS world.")
Expand Down
2 changes: 0 additions & 2 deletions core/src/al/oal_audio_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ OALAudioDevice::~OALAudioDevice()
alcMakeContextCurrent(nullptr);
alcDestroyContext(context);
alcCloseDevice(device);
#else
UNSUPPORTED();
#endif // WITH_OPENAL
}

Expand Down

0 comments on commit 8c4544d

Please sign in to comment.