Fix Qt build by simply moving the offending file to the native project. No idea why Qt include paths only work there.

This commit is contained in:
Henrik Rydgård 2020-10-05 10:19:04 +02:00
parent c42e9278b3
commit 7d43ca5125
5 changed files with 38 additions and 52 deletions

View file

@ -6,7 +6,6 @@
#include "Common/GPU/thin3d.h"
#include "Common/Log.h"
#include "Common/ColorConv.h"
#include "Core/Reporting.h"
namespace Draw {
@ -450,7 +449,7 @@ void ConvertFromRGBA8888(uint8_t *dst, const uint8_t *src, uint32_t dstStride, u
case Draw::DataFormat::R8G8B8A8_UNORM:
case Draw::DataFormat::UNDEFINED:
default:
WARN_LOG_REPORT_ONCE(convFromRGBA, G3D, "Unable to convert from format: %d", (int)format);
WARN_LOG(G3D, "Unable to convert from format: %d", (int)format);
break;
}
}
@ -492,7 +491,7 @@ void ConvertFromBGRA8888(uint8_t *dst, const uint8_t *src, uint32_t dstStride, u
dst += dstStride * 3;
}
} else {
WARN_LOG_REPORT_ONCE(convFromBGRA, G3D, "Unable to convert from format to BGRA: %d", (int)format);
WARN_LOG(G3D, "Unable to convert from format to BGRA: %d", (int)format);
}
}