We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96cf653 commit ae76d4aCopy full SHA for ae76d4a
Source/TexturePackJob.hpp
@@ -38,7 +38,7 @@ class TexturePackJob : public ThreadPoolJob {
38
if (ungzip.read(&cachedModificationTime, sizeof(cachedModificationTime)) != sizeof(cachedModificationTime)) {
39
return false;
40
}
41
- if (!timestamp || (timestamp && cachedModificationTime >= *timestamp)) {
+ if (!timestamp || cachedModificationTime >= *timestamp) {
42
pixels.reset(new juce::PixelARGB[512 * 512]);
43
int expectedBytes = sizeof(juce::PixelARGB) * 512 * 512;
44
if (ungzip.read(pixels.get(), expectedBytes) != expectedBytes) {
0 commit comments