mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
Advancec Frustum Culling & fixes
This commit is contained in:
parent
11f004b582
commit
883dcbf168
12 changed files with 178 additions and 53 deletions
|
|
@ -275,7 +275,7 @@ ImageData* _png_load(const char* file){
|
|||
return 0;
|
||||
}
|
||||
|
||||
char *clr_type_str;
|
||||
const char *clr_type_str;
|
||||
if(ihdr.color_type == SPNG_COLOR_TYPE_GRAYSCALE)
|
||||
clr_type_str = "grayscale";
|
||||
else if(ihdr.color_type == SPNG_COLOR_TYPE_TRUECOLOR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue