Arch Game Engine
0.2
Main Page
Classes
Files
File List
sdl_check.h
1
#pragma once
2
#include <stdexcept>
3
#include <string>
4
5
#define SDL_CHECK(x, msg) if (!(x)) \
6
throw std::runtime_error(std::string(msg": ") + SDL_GetError())
Generated by
1.8.11