mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Software Backend: Rename 'copy_region' to 'CopyRegion'
This commit is contained in:
parent
0f7f4ccaf9
commit
1a1c3560ce
3 changed files with 7 additions and 7 deletions
|
@ -9,8 +9,8 @@ namespace SW
|
|||
// Modified from
|
||||
// http://tech-algorithm.com/articles/nearest-neighbor-image-scaling/
|
||||
template <typename T>
|
||||
void copy_region(const T* const source, const MathUtil::Rectangle<int>& srcrect, T* destination,
|
||||
const MathUtil::Rectangle<int>& dstrect)
|
||||
void CopyRegion(const T* const source, const MathUtil::Rectangle<int>& srcrect, T* destination,
|
||||
const MathUtil::Rectangle<int>& dstrect)
|
||||
{
|
||||
double x_ratio = srcrect.GetWidth() / static_cast<double>(dstrect.GetWidth());
|
||||
double y_ratio = srcrect.GetHeight() / static_cast<double>(dstrect.GetHeight());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue