Add a missing virtual destructor, fix a warning

This commit is contained in:
Henrik Rydgård committed 2018-05-30 18:01:49 +02:00
1 parent c59c3d6c34
commit 7e756544ee
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -409,7 +409,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", format);
WARN_LOG_REPORT_ONCE(convFromRGBA, G3D, "Unable to convert from format: %d", (int)format);
break;
}
}