mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 00:32:46 +00:00
Fix coding derp.
This commit is contained in:
parent
a5f1634dca
commit
f73a8d9875
@ -1231,7 +1231,7 @@ bool gl_cg_load_shader(unsigned index, const char *path)
|
||||
else
|
||||
{
|
||||
// Always make sure we have a valid shader.
|
||||
memcpy(&prg[index], &prg[0], sizeof(prg[0]));
|
||||
prg[index] = prg[0];
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user