Merge branch 'Solve_Sample_Warnings' into 'master'
solve 4 warnings about printf & long unsigned values vs %d See merge request simulant/GLdc!85
This commit is contained in:
commit
705cb30be8
|
@ -181,9 +181,9 @@ int dtex_to_gl_texture(texture *tex, char* filename) {
|
||||||
tex->blend_dest = GL_ONE_MINUS_SRC_ALPHA;
|
tex->blend_dest = GL_ONE_MINUS_SRC_ALPHA;
|
||||||
strcpy(tex->path, filename);
|
strcpy(tex->path, filename);
|
||||||
|
|
||||||
printf("Texture size: %d x %d\n", image->sizeX, image->sizeY);
|
printf("Texture size: %lu x %lu\n", image->sizeX, image->sizeY);
|
||||||
printf("Texture ratio: %d\n", ratio);
|
printf("Texture ratio: %d\n", ratio);
|
||||||
printf("Texture size: %d x %d\n", image->sizeX, image->sizeY);
|
printf("Texture size: %lu x %lu\n", image->sizeX, image->sizeY);
|
||||||
printf("Texture %s loaded\n", tex->path);
|
printf("Texture %s loaded\n", tex->path);
|
||||||
|
|
||||||
return(1);
|
return(1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user