aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-07 07:32:45 -0700
committerChris Robinson <[email protected]>2013-10-07 07:32:45 -0700
commit44172f701c0842fc1a31bfa93b617b361a6d3618 (patch)
treefbd4acb447ba624f843ed334931169a0fed83557 /OpenAL32
parente1d5be570e860b80db655ebeb8bb01e8eb13aaef (diff)
Remove a duplicate and unused macro
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alError.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenAL32/Include/alError.h b/OpenAL32/Include/alError.h
index b6186054..0ade342d 100644
--- a/OpenAL32/Include/alError.h
+++ b/OpenAL32/Include/alError.h
@@ -11,16 +11,6 @@ extern ALboolean TrapALError;
ALvoid alSetError(ALCcontext *Context, ALenum errorCode);
-#define SET_ERROR_AND_RETURN(ctx, err) do { \
- alSetError((ctx), (err)); \
- return; \
-} while(0)
-
-#define SET_AND_RETURN_ERROR(ctx, err) do { \
- alSetError((ctx), (err)); \
- return (err); \
-} while(0)
-
#ifdef __cplusplus
}
#endif