mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
rename ImageFormat enum items
This commit is contained in:
parent
1940fa7fa4
commit
163a0a8c93
18 changed files with 58 additions and 58 deletions
|
|
@ -46,7 +46,7 @@ void visualize(const SurroundMap& map, int mul, int max) {
|
|||
int ox = areaMap.getOffsetX();
|
||||
int oy = areaMap.getOffsetY();
|
||||
|
||||
ImageData image(ImageFormat::rgb888, w, h);
|
||||
ImageData image(ImageFormat::RGB888, w, h);
|
||||
ubyte* bytes = image.getData();
|
||||
for (int y = 0; y < h; y++) {
|
||||
for (int x = 0; x < w; x++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue