mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 07:35:38 +00:00
Additional changes for SDL2 include files.
Of course I had to miss some things..
This commit is contained in:
parent
eeae8033bd
commit
5b17edde8b
|
@ -1,16 +1,21 @@
|
|||
//
|
||||
// AudioManager.cpp
|
||||
//
|
||||
// Low-level audio functions (using SDL).
|
||||
// Low-level audio functions (using SDL2).
|
||||
//
|
||||
|
||||
#include "AudioManager.h"
|
||||
|
||||
#include "Log.h"
|
||||
#include "SDL.h"
|
||||
#include "Settings.h"
|
||||
#include "Sound.h"
|
||||
|
||||
#ifdef __linux__
|
||||
#include <SDL2/SDL.h>
|
||||
#else
|
||||
#include "SDL.h"
|
||||
#endif
|
||||
|
||||
std::vector<std::shared_ptr<Sound>> AudioManager::sSoundVector;
|
||||
SDL_AudioSpec AudioManager::sAudioFormat;
|
||||
std::shared_ptr<AudioManager> AudioManager::sInstance;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//
|
||||
// AudioManager.h
|
||||
//
|
||||
// Low-level audio functions (using SDL).
|
||||
// Low-level audio functions (using SDL2).
|
||||
//
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
|
||||
#ifdef __linux__
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_opengl.h>
|
||||
#include <SDL2/SDL_opengles.h>
|
||||
#else
|
||||
#include "SDL.h"
|
||||
#include "SDL_opengl.h"
|
||||
#include "SDL_opengles.h"
|
||||
#endif
|
||||
|
||||
namespace Renderer
|
||||
|
|
Loading…
Reference in a new issue