mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
Remove misleadingly indented warning
This commit is contained in:
parent
18fe5393c3
commit
473d8350b4
2 changed files with 3 additions and 2 deletions
|
@ -103,7 +103,8 @@ void GRRLIB_BMFX_Sepia (const GRRLIB_texImg *texsrc, GRRLIB_texImg *texdest) {
|
||||||
sr = R(color)*0.393 + G(color)*0.769 + B(color)*0.189;
|
sr = R(color)*0.393 + G(color)*0.769 + B(color)*0.189;
|
||||||
sg = R(color)*0.349 + G(color)*0.686 + B(color)*0.168;
|
sg = R(color)*0.349 + G(color)*0.686 + B(color)*0.168;
|
||||||
sb = R(color)*0.272 + G(color)*0.534 + B(color)*0.131;
|
sb = R(color)*0.272 + G(color)*0.534 + B(color)*0.131;
|
||||||
if (sr>255) sr=255; if (sg>255) sg=255;
|
if (sr>255) sr=255;
|
||||||
|
if (sg>255) sg=255;
|
||||||
GRRLIB_SetPixelTotexImg(x, y, texdest,
|
GRRLIB_SetPixelTotexImg(x, y, texdest,
|
||||||
RGBA(sr, sg, sb, A(color)));
|
RGBA(sr, sg, sb, A(color)));
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ THE SOFTWARE.
|
||||||
------------------------------------------------------------------------------*/
|
------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file GRRLIB.h
|
* @file grrlib.h
|
||||||
* GRRLIB user include file.
|
* GRRLIB user include file.
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue