aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alFilter.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-08-22 07:22:02 -0700
committerChris Robinson <[email protected]>2011-08-22 07:22:02 -0700
commitc1f435cc18df4e2597d166b8b1c8a0d4ba9b23a6 (patch)
tree49e06bfa81531efa7217a487dbea712a35af5905 /OpenAL32/alFilter.c
parent858592832f7adf39dd1983ff72ebeda75cc4dd16 (diff)
Don't use the thunk array for object lookups
Diffstat (limited to 'OpenAL32/alFilter.c')
-rw-r--r--OpenAL32/alFilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c
index 5e73cbae..040014c2 100644
--- a/OpenAL32/alFilter.c
+++ b/OpenAL32/alFilter.c
@@ -59,7 +59,7 @@ AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters)
break;
}
- err = ALTHUNK_ADDENTRY(filter, &filter->filter);
+ err = ALTHUNK_NEWENTRY(filter, &filter->filter);
if(err == AL_NO_ERROR)
err = InsertUIntMapEntry(&device->FilterMap, filter->filter, filter);
if(err != AL_NO_ERROR)