fix: Color vector in 3D visualizer not getting assigned the correct size
This commit is contained in:
parent
9de10df90d
commit
0bd8c5d115
@ -151,7 +151,7 @@ namespace hex::plugin::visualizers {
|
||||
return std::max(maxx, maxy);
|
||||
}
|
||||
|
||||
void setDefaultColors(std::vector<float> &colors, float size, u32 color) {
|
||||
void setDefaultColors(std::vector<float> &colors, size_t size, u32 color) {
|
||||
colors.resize(size / 3 * 4);
|
||||
|
||||
float red = float((color >> 0) & 0xFF) / 255.0F;
|
||||
|
Loading…
Reference in New Issue
Block a user