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