blob: 67c752e6dbda5ec9769515153b5141eaa19d1f34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "cru/platform/gui/sdl/Base.h"
#include <SDL3/SDL_error.h>
namespace cru::platform::gui::sdl {
void CheckSdlReturn(bool success) {
if (!success) {
throw SdlException(SDL_GetError());
}
}
}
|