Fix harmless parameter hiding warning in AlphaBlt()
Use different names for the local variables, this also makes the code slightly more readable.
This commit is contained in:
committed by
Vadim Zeitlin
parent
2a6e411887
commit
c932c8054b
@@ -2624,11 +2624,11 @@ static bool AlphaBlt(wxMSWDCImpl* dcDst,
|
||||
if ( data )
|
||||
{
|
||||
wxAlphaPixelData::Iterator p(data);
|
||||
for ( int y = 0; y < data.GetHeight(); y++ )
|
||||
for ( int old_y = 0; old_y < data.GetHeight(); old_y++ )
|
||||
{
|
||||
wxAlphaPixelData::Iterator rowStart = p;
|
||||
|
||||
for ( int x = 0; x < data.GetWidth(); x++ )
|
||||
for ( int old_x = 0; old_x < data.GetWidth(); old_x++ )
|
||||
{
|
||||
// We choose to use wxALPHA_TRANSPARENT instead
|
||||
// of perhaps more logical wxALPHA_OPAQUE here
|
||||
|
Reference in New Issue
Block a user