MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / CopyRowReverse

Function CopyRowReverse

Source/Graphics/TextureTransform.cpp:229–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227
228template< typename T >
229static void CopyRowReverse( T * dst, const T * src, u32 pixels )
230{
231 u32 last_pixel {pixels * 2 - 1};
232
233 for( u32 i {}; i < pixels; ++i )
234 {
235 dst[ last_pixel - i ] = src[ i ];
236 }
237}
238
239template<>
240void CopyRowReverse( NativePfCI44 * dst, const NativePfCI44 * src, u32 pixels )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected