mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 12:25:00 +00:00
gnm_driver: sceGnmSetEmbeddedVsShader
added
This commit is contained in:
parent
5f83ad2ecb
commit
72ea0be9ff
3 changed files with 65 additions and 17 deletions
|
@ -22,7 +22,7 @@ int EqueueInternal::addEvent(const EqueueEvent& event) {
|
|||
|
||||
int EqueueInternal::removeEvent(u64 id) {
|
||||
const auto& event_q = std::find_if(m_events.cbegin(), m_events.cend(),
|
||||
[id](auto& ev) { return ev.event.ident == id; });
|
||||
[id](auto& ev) { return ev.event.ident == id; });
|
||||
ASSERT(event_q != m_events.cend());
|
||||
m_events.erase(event_q);
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue