diff options
author | Chris Robinson <[email protected]> | 2014-11-06 23:05:21 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-11-06 23:05:21 -0800 |
commit | ad247fe5cdec749ca1b86d48e7f722f9477679ea (patch) | |
tree | 18c1c15e9cd7734077a55c176ebefc0f1ad623c8 /Alc/panning.c | |
parent | 4126ccf7441d4dd583fa37f4553571046a803040 (diff) |
Initialize a couple variables mingw complains about
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index 8ea6f632..9fe03a57 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -152,8 +152,8 @@ ALvoid aluInitPanning(ALCdevice *device) { SideLeft, { DEG2RAD( -90.0f), DEG2RAD(0.0f), { 0.224739f, 0.000002f, 0.340644f, 0.0f, 0.0f, 0.0f, 0.0f, -0.210697f, 0.000002f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.000000f, -0.065795f }, { 0.224739f, 0.000000f, 0.260717f, 0.0f } } }, { SideRight, { DEG2RAD( 90.0f), DEG2RAD(0.0f), { 0.224739f, 0.000002f, -0.340644f, 0.0f, 0.0f, 0.0f, 0.0f, -0.210697f, -0.000002f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.000000f, 0.065795f }, { 0.224739f, 0.000000f, -0.260717f, 0.0f } } }, }; - const ChannelMap *chanmap; - size_t count; + const ChannelMap *chanmap = NULL; + size_t count = 0; ALuint i, j; memset(device->Speaker, 0, sizeof(device->Speaker)); |