mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-22 15:02:20 +00:00
[CHG] Nothing important (code formating)
This commit is contained in:
parent
f5585bae76
commit
622e74b66c
1 changed files with 3 additions and 3 deletions
|
@ -82,14 +82,14 @@ void GRRLIB_BMFX_Grayscale (const GRRLIB_texImg *texsrc,
|
||||||
((gray << 24) | (gray << 16) | (gray << 8) | (color & 0xFF)));
|
((gray << 24) | (gray << 16) | (gray << 8) | (color & 0xFF)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GRRLIB_SetHandle(texdest, 0,0);
|
GRRLIB_SetHandle(texdest, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Change a texture to sepia (old photo style).
|
* Change a texture to sepia (old photo style).
|
||||||
* @see GRRLIB_FlushTex
|
* @see GRRLIB_FlushTex
|
||||||
* @param texsrc The texture source.
|
* @param texsrc The texture source.
|
||||||
* @param texdest The texture grayscaled destination.
|
* @param texdest The texture destination.
|
||||||
* @author elisherer
|
* @author elisherer
|
||||||
*/
|
*/
|
||||||
void GRRLIB_BMFX_Sepia (const GRRLIB_texImg *texsrc, GRRLIB_texImg *texdest) {
|
void GRRLIB_BMFX_Sepia (const GRRLIB_texImg *texsrc, GRRLIB_texImg *texdest) {
|
||||||
|
@ -108,7 +108,7 @@ void GRRLIB_BMFX_Sepia (const GRRLIB_texImg *texsrc, GRRLIB_texImg *texdest) {
|
||||||
GRRLIB_GetColor(sr,sg,sb,color&0xFF));
|
GRRLIB_GetColor(sr,sg,sb,color&0xFF));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GRRLIB_SetHandle(texdest, 0,0);
|
GRRLIB_SetHandle(texdest, 0, 0);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Invert colors of the texture.
|
* Invert colors of the texture.
|
||||||
|
|
Loading…
Reference in a new issue