Skip to content

Commit

Permalink
Coding style compliance
Browse files Browse the repository at this point in the history
Not sure why the linter wants me to unindent a previously existing
comment though.
  • Loading branch information
hrydgard committed Mar 12, 2018
1 parent 66c60cf commit 2a40126
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/Core/VideoCommon/TextureCacheBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1799,16 +1799,17 @@ void TextureCacheBase::UninitializeXFBMemory(u8* dst, u32 stride, u32 bytes_per_
for (u32 i = 0; i < num_blocks_y; i++)
{
u32 size = bytes_per_row;
u8 *rowdst = dst;
u8* rowdst = dst;
#if defined(_M_X86) || defined(_M_X86_64)
while (size >= 16)
{
_mm_storeu_si128((__m128i *)rowdst, sixteenBytes);
_mm_storeu_si128((__m128i*)rowdst, sixteenBytes);
size -= 16;
rowdst += 16;
}
#endif
for (u32 offset = 0; offset < size; offset++) {
for (u32 offset = 0; offset < size; offset++)
{
if (offset & 1)
{
rowdst[offset] = 254;
Expand Down

0 comments on commit 2a40126

Please sign in to comment.