mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 17:05:37 +00:00
PSP: use 'data' variable which is alread the driver data
This commit is contained in:
parent
9f1e609aa0
commit
3cdda8f8ab
|
@ -1212,7 +1212,7 @@ PSP_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *verti
|
||||||
.shadeModel = GU_FLAT
|
.shadeModel = GU_FLAT
|
||||||
};
|
};
|
||||||
TextureActivate(cmd->data.draw.texture);
|
TextureActivate(cmd->data.draw.texture);
|
||||||
PSP_SetBlendState(renderer->driverdata, &state);
|
PSP_SetBlendState(data, &state);
|
||||||
sceGuDrawArray(GU_TRIANGLES, GU_TEXTURE_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF|GU_TRANSFORM_2D, count, 0, verts);
|
sceGuDrawArray(GU_TRIANGLES, GU_TEXTURE_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF|GU_TRANSFORM_2D, count, 0, verts);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue