Skip to content
Myr

stb_image: fix warning (unused parameter ‘bpc’)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixes issue #745.

authored by BlackMATov · committed by BlackMATov · parent 1034f5e · Browse files · 1 file+3 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:stb_image.h+3 added
103 unmodified lines
104 Oriol Ferrer Mesia Josh Tobin Matthew Gregan github:phprus105 Julian Raschke Gregory Mullen Baldur Karlsson github:poppolopoppo106 Christian Floisand Kevin Schmidt JR Smith github:darealshinji107 Blazej Dariusz Roszkowski github:Michaelangel007108 Matvey Cherevko109*/110111#ifndef STBI_INCLUDE_STB_IMAGE_H112#define STBI_INCLUDE_STB_IMAGE_H
909 unmodified lines
1022 if (stbi__gif_test(s)) return stbi__gif_load(s,x,y,comp,req_comp, ri);1023 #endif1024 #ifndef STBI_NO_PSD1025 if (stbi__psd_test(s)) return stbi__psd_load(s,x,y,comp,req_comp, ri, bpc);1026 #else1027 STBI_NOTUSED(bpc);1028 #endif1029 #ifndef STBI_NO_PIC1030 if (stbi__pic_test(s)) return stbi__pic_load(s,x,y,comp,req_comp, ri);1031 #endif
6519 unmodified lines