milkytracker / MilkyTracker

An FT2 compatible music tracker
http://milkytracker.github.io/
Other
1.68k stars 159 forks source link

Fix missing argument to SampleEditorControl #273

Closed vanjac closed 2 years ago

vanjac commented 2 years ago

This allows it to compile with the __LOWRES__ flag set, which was broken by 075d32ec2662cbbf52caf45e1ec97a2df3254248

coderofsalvation commented 2 years ago

@vanjac awesome how can we test this? what was the perceived side-effect?

vanjac commented 2 years ago

The problem arises when compiling with the __LOWRES__ macro defined, it can be tested by adding add_definitions(-D__LOWRES__) to CMakeLists. Previously this wouldn't compile since an argument was added to SampleEditorControl without updating all references.