avoid variable shadowing
parent
e05fc48629
commit
f967eea5b7
|
@ -65,7 +65,6 @@ static void* thread_function(void* arg)
|
||||||
ALCdevice* device = (ALCdevice*)arg;
|
ALCdevice* device = (ALCdevice*)arg;
|
||||||
AndroidData* data = (AndroidData*)device->ExtraData;
|
AndroidData* data = (AndroidData*)device->ExtraData;
|
||||||
|
|
||||||
JNIEnv* env;
|
|
||||||
(*javaVM)->AttachCurrentThread(javaVM, &env, NULL);
|
(*javaVM)->AttachCurrentThread(javaVM, &env, NULL);
|
||||||
|
|
||||||
(*env)->PushLocalFrame(env, 2);
|
(*env)->PushLocalFrame(env, 2);
|
||||||
|
|
|
@ -389,7 +389,6 @@ AL_API ALvoid AL_APIENTRY alBufferSubDataSOFT(ALuint buffer,ALenum format,const
|
||||||
|
|
||||||
if(Context->SampleSource)
|
if(Context->SampleSource)
|
||||||
{
|
{
|
||||||
ALintptrEXT offset;
|
|
||||||
|
|
||||||
if(Context->SampleSource->state == MAPPED)
|
if(Context->SampleSource->state == MAPPED)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue