Skip to content

Commit

Permalink
Fix pink->transparent from #275eb32 for disabled/img_mod. Closes #4.
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Apr 24, 2021
1 parent 18bfe26 commit db9a2ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# PopTracker Changelog

## v0.14.1

* Fixes
* Make items' pink background transparent (disabled/with img_mods)

## v0.14.0

* App Features
Expand Down
2 changes: 1 addition & 1 deletion src/poptracker.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class PopTracker final : public App {
virtual ~PopTracker();

static constexpr const char APPNAME[] = "PopTracker";
static constexpr const char VERSION_STRING[] = "0.14.0";
static constexpr const char VERSION_STRING[] = "0.14.1";

protected:
virtual bool start();
Expand Down
1 change: 1 addition & 0 deletions src/ui/item.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ void Item::addStage(int stage1, int stage2, SDL_Surface* surf, std::list<ImageFi
SDL_FreeSurface(surf);
surf = newSurf;
if (!surf) return;
SDL_SetSurfaceBlendMode(surf, SDL_BLENDMODE_BLEND);
}
uint32_t key = SDL_MapRGB(surf->format, 0xff, 0x00, 0xff);
for (int y=0; y<surf->h; y++) {
Expand Down

0 comments on commit db9a2ea

Please sign in to comment.