19 lines
283 B
C++
19 lines
283 B
C++
|
//
|
||
|
// SDLWrapper.cpp
|
||
|
// gui
|
||
|
//
|
||
|
// Created by Bob Polis at 2020-10-14
|
||
|
// Copyright (c) 2020 SwiftCoder. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#include <SDL2/SDL.h>
|
||
|
#include "SDLWrapper.hpp"
|
||
|
|
||
|
SDLWrapper::SDLWrapper() {
|
||
|
SDL_Init(SDL_INIT_VIDEO);
|
||
|
}
|
||
|
|
||
|
SDLWrapper::~SDLWrapper() {
|
||
|
SDL_Quit();
|
||
|
}
|