diff options
author | Chris Robinson <[email protected]> | 2010-03-16 15:37:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-16 15:37:41 -0700 |
commit | ec917e8e2ff30d2c2da873b3ce4f95160c89f03f (patch) | |
tree | 6fa1623ba3b353a517b5d0b1b99b45db59f3b0e7 /OpenAL32/alDatabuffer.c | |
parent | 89d84131a46f0aa528eb0d3adbe0798cd4304b4e (diff) |
Rename some struct members for consistency
Diffstat (limited to 'OpenAL32/alDatabuffer.c')
-rw-r--r-- | OpenAL32/alDatabuffer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenAL32/alDatabuffer.c b/OpenAL32/alDatabuffer.c index 1bbe8be4..eaf7acab 100644 --- a/OpenAL32/alDatabuffer.c +++ b/OpenAL32/alDatabuffer.c @@ -54,7 +54,7 @@ ALvoid ALAPIENTRY alGenDatabuffersEXT(ALsizei n,ALuint *puiBuffers) * Databuffer Names) */ if(!IsBadWritePtr((void*)puiBuffers, n * sizeof(ALuint))) { - ALdatabuffer **list = &device->Databuffers; + ALdatabuffer **list = &device->DatabufferList; while(*list) list = &(*list)->next; @@ -140,7 +140,7 @@ ALvoid ALAPIENTRY alDeleteDatabuffersEXT(ALsizei n, const ALuint *puiBuffers) { if(puiBuffers[i] && alIsDatabufferEXT(puiBuffers[i])) { - ALdatabuffer **list = &device->Databuffers; + ALdatabuffer **list = &device->DatabufferList; ALBuf = (ALdatabuffer*)ALTHUNK_LOOKUPENTRY(puiBuffers[i]); while(*list && *list != ALBuf) @@ -186,7 +186,7 @@ ALboolean ALAPIENTRY alIsDatabufferEXT(ALuint uiBuffer) if(!Context) return AL_FALSE; /* Check through list of generated databuffers for uiBuffer */ - ALBuf = Context->Device->Databuffers; + ALBuf = Context->Device->DatabufferList; while(ALBuf && ALBuf->databuffer != uiBuffer) ALBuf = ALBuf->next; @@ -619,7 +619,7 @@ ALvoid ReleaseALDatabuffers(ALCdevice *device) ALdatabuffer *ALBuffer; ALdatabuffer *ALBufferTemp; - ALBuffer = device->Databuffers; + ALBuffer = device->DatabufferList; while(ALBuffer) { // Release sample data @@ -631,6 +631,6 @@ ALvoid ReleaseALDatabuffers(ALCdevice *device) memset(ALBufferTemp, 0, sizeof(ALdatabuffer)); free(ALBufferTemp); } - device->Databuffers = NULL; + device->DatabufferList = NULL; device->DatabufferCount = 0; } |