big cleanup, replace Bytes alias with std::vector<uint8_t> to reduce ambiguity
This commit is contained in:
@@ -121,7 +121,6 @@
|
||||
using ushort = unsigned short;
|
||||
using uint = unsigned int;
|
||||
using uchar = unsigned char;
|
||||
using Bytes = std::vector<uint8_t>;
|
||||
|
||||
namespace yaze {
|
||||
namespace app {
|
||||
|
||||
@@ -69,7 +69,7 @@ class Renderer : public ExperimentFlags {
|
||||
}
|
||||
|
||||
absl::Status CreateAndRenderBitmap(int width, int height, int depth,
|
||||
const Bytes& data, gfx::Bitmap& bitmap,
|
||||
const std::vector<uint8_t>& data, gfx::Bitmap& bitmap,
|
||||
gfx::SnesPalette& palette) {
|
||||
bitmap.Create(width, height, depth, data);
|
||||
RETURN_IF_ERROR(bitmap.ApplyPalette(palette));
|
||||
|
||||
Reference in New Issue
Block a user