mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2026-10-22 07:02:37 +00:00
12 lines
286 B
C++
12 lines
286 B
C++
#include "stdafx.h"
|
|
#include "../inc/SDLWrapper.h"
|
|
|
|
using namespace Gaming;
|
|
|
|
SDLWrapper::SDLWrapper() {
|
|
verifySDLCall(::SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_GAMECONTROLLER | SDL_INIT_HAPTIC), "Failed to initialise SDL: ");
|
|
}
|
|
|
|
SDLWrapper::~SDLWrapper() {
|
|
::SDL_Quit();
|
|
} |