Decompile fn_01853 (CDCBitmap::SetAlpha)
Batch #16137 by Yommy: 0 byte-identical, 1 confirmed by peer review. - fn_01853 CDCBitmap::SetAlpha: logic confirmed by peer review Peer-reviewed-by: alisonrag, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
3cb07c2118
commit
8478f9f2ed
1 changed files with 0 additions and 4 deletions
|
|
@ -46,10 +46,6 @@ void CDCBitmap::Copy(int x, int y, int width, int height, const std::uint32_t* s
|
|||
// OFFSET: 0x005482D0
|
||||
// FUNCTION: fn_01853
|
||||
void CDCBitmap::SetAlpha(unsigned char maxLuminance) {
|
||||
if (this->m_bitmap.height <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (std::uint32_t y = 0; y < this->m_bitmap.height; ++y) {
|
||||
for (std::uint32_t x = 0; x < this->m_bitmap.width; ++x) {
|
||||
const std::uint32_t index = y * this->m_bitmap.width + x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue