mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
we not use sdl audio
This commit is contained in:
parent
71ab542b6a
commit
3e48768e96
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ static bool initialize_gl(int width, int height) {
|
||||||
}
|
}
|
||||||
|
|
||||||
window_sdl::window_sdl(DisplaySettings *settings, std::string title) noexcept {
|
window_sdl::window_sdl(DisplaySettings *settings, std::string title) noexcept {
|
||||||
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_EVENTS)) {
|
if (!SDL_Init(SDL_INIT_VIDEO | SDL_INIT_EVENTS)) {
|
||||||
logger.error() << "failed to initialize SDL: " << SDL_GetError();
|
logger.error() << "failed to initialize SDL: " << SDL_GetError();
|
||||||
isSuccessfull = false;
|
isSuccessfull = false;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue