mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-12 22:14:58 +00:00
rsx/prog: Warnings cleanup
This commit is contained in:
parent
652f18ebaa
commit
401bd9112a
@ -228,8 +228,12 @@ protected:
|
||||
}
|
||||
|
||||
LOG_NOTICE(RSX, "FP not found in buffer!");
|
||||
|
||||
void* fragment_program_ucode_copy = malloc(rsx_fp.ucode_length);
|
||||
|
||||
verify("malloc() failed!" HERE), fragment_program_ucode_copy;
|
||||
std::memcpy(fragment_program_ucode_copy, rsx_fp.addr, rsx_fp.ucode_length);
|
||||
|
||||
RSXFragmentProgram new_fp_key = rsx_fp;
|
||||
new_fp_key.addr = fragment_program_ucode_copy;
|
||||
fragment_program_type &new_shader = m_fragment_shader_cache[new_fp_key];
|
||||
|
Loading…
x
Reference in New Issue
Block a user