aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcontext.h
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 /Alc/alcontext.h
parentbf30eb0391b84e81353139354d2ec665942847f1 (diff)
Avoid naming a struct member the same as an enum type
Diffstat (limited to 'Alc/alcontext.h')
-rw-r--r--Alc/alcontext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alcontext.h b/Alc/alcontext.h
index d0a2dc51..26da4464 100644
--- a/Alc/alcontext.h
+++ b/Alc/alcontext.h
@@ -59,7 +59,7 @@ struct ALCcontext_struct {
ATOMIC(ALenum) LastError;
- enum DistanceModel DistanceModel;
+ DistanceModel mDistanceModel;
ALboolean SourceDistanceModel;
ALfloat DopplerFactor;
@@ -171,7 +171,7 @@ struct ALcontextProps {
ALfloat DopplerVelocity;
ALfloat SpeedOfSound;
ALboolean SourceDistanceModel;
- enum DistanceModel DistanceModel;
+ DistanceModel mDistanceModel;
ALfloat MetersPerUnit;
ATOMIC(struct ALcontextProps*) next;