Remove unecessary comments

This commit is contained in:
scawful
2023-11-10 23:22:24 -05:00
parent 6b5e100371
commit e4b23b9b26
2 changed files with 14 additions and 311 deletions

View File

@@ -151,7 +151,7 @@ void Bitmap::ApplyPalette(const SNESPalette &palette) {
palette_ = palette;
SDL_UnlockSurface(surface_.get());
for (int i = 0; i < palette.size(); ++i) {
if (palette.GetColor(i).isTransparent()) {
if (palette.GetColor(i).IsTransparent()) {
surface_->format->palette->colors[i].r = 0;
surface_->format->palette->colors[i].g = 0;
surface_->format->palette->colors[i].b = 0;