Software Backend: Remove reinterpret_cast which violates the strict aliasing rule

This commit is contained in:
iwubcode
2017-10-24 00:44:14 -05:00
parent 332af8aa49
commit bf7db3f888
4 changed files with 22 additions and 12 deletions

View File

@ -57,8 +57,7 @@ u32 GetDepth(u16 x, u16 y);
u8* GetPixelPointer(u16 x, u16 y, bool depth);
void EncodeXFB(yuv422_packed* xfb_in_ram, u32 memory_stride, const EFBRectangle& source_rect,
float y_scale);
void EncodeXFB(u8* xfb_in_ram, u32 memory_stride, const EFBRectangle& source_rect, float y_scale);
extern u32 perf_values[PQ_NUM_MEMBERS];
inline void IncPerfCounterQuadCount(PerfQueryType type)