mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 19:32:49 +01:00
12 lines
230 B
C++
12 lines
230 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
void checkALerror(const std::string& file, unsigned int line);
|
|
|
|
#if RW_DEBUG
|
|
#define alCheck(stmt) do { stmt; checkALerror(__FILE__, __LINE__); } while(0)
|
|
#else
|
|
#define alCheck(stmt) stmt
|
|
#endif
|