aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-18 03:39:32 -0800
committerChris Robinson <[email protected]>2018-11-18 03:39:32 -0800
commit7433cb5f4cb0515dd6e314978f579ae91e2c63c4 (patch)
tree1a2e51d6e819cabcd51ac24fafe345a47a469667 /OpenAL32/Include
parentbf30eb0391b84e81353139354d2ec665942847f1 (diff)
Avoid naming a struct member the same as an enum type
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alListener.h2
-rw-r--r--OpenAL32/Include/alSource.h2
-rw-r--r--OpenAL32/Include/alu.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/Include/alListener.h b/OpenAL32/Include/alListener.h
index 096a747e..e14527d9 100644
--- a/OpenAL32/Include/alListener.h
+++ b/OpenAL32/Include/alListener.h
@@ -46,7 +46,7 @@ struct ALlistener {
ALfloat ReverbSpeedOfSound; /* in meters per sec! */
ALboolean SourceDistanceModel;
- enum DistanceModel DistanceModel;
+ DistanceModel mDistanceModel;
} Params;
};
diff --git a/OpenAL32/Include/alSource.h b/OpenAL32/Include/alSource.h
index 53313fdd..3d7d733e 100644
--- a/OpenAL32/Include/alSource.h
+++ b/OpenAL32/Include/alSource.h
@@ -43,7 +43,7 @@ typedef struct ALsource {
ALfloat Orientation[2][3];
ALboolean HeadRelative;
ALboolean Looping;
- enum DistanceModel DistanceModel;
+ DistanceModel mDistanceModel;
enum Resampler Resampler;
ALboolean DirectChannels;
enum SpatializeMode Spatialize;
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index d309c2a7..d086bcc7 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -161,7 +161,7 @@ struct ALvoiceProps {
ALfloat Direction[3];
ALfloat Orientation[2][3];
ALboolean HeadRelative;
- enum DistanceModel DistanceModel;
+ DistanceModel mDistanceModel;
enum Resampler Resampler;
ALboolean DirectChannels;
enum SpatializeMode SpatializeMode;