mirror of
https://github.com/GRRLIB/GRRLIB.git
synced 2024-11-10 10:22:20 +00:00
[CHG] Several optimizations
This commit is contained in:
parent
67987d304b
commit
61db0e3998
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ bool GRRLIB_GetAntiAliasing() {
|
||||||
* Set a blending mode.
|
* Set a blending mode.
|
||||||
* @param blendmode The blending mode to use (Default: GRRLIB_BLEND_ALPHA).
|
* @param blendmode The blending mode to use (Default: GRRLIB_BLEND_ALPHA).
|
||||||
*/
|
*/
|
||||||
inline void GRRLIB_SetBlend( unsigned char blendmode ) {
|
void GRRLIB_SetBlend( unsigned char blendmode ) {
|
||||||
GRRLIB_Settings.blend = blendmode;
|
GRRLIB_Settings.blend = blendmode;
|
||||||
switch (GRRLIB_Settings.blend) {
|
switch (GRRLIB_Settings.blend) {
|
||||||
case GRRLIB_BLEND_ALPHA:
|
case GRRLIB_BLEND_ALPHA:
|
||||||
|
|
|
@ -89,7 +89,7 @@ typedef struct GRRLIB_bytemapFont {
|
||||||
void GRRLIB_SetAntiAliasing(bool aa);
|
void GRRLIB_SetAntiAliasing(bool aa);
|
||||||
bool GRRLIB_GetAntiAliasing();
|
bool GRRLIB_GetAntiAliasing();
|
||||||
|
|
||||||
inline void GRRLIB_SetBlend( unsigned char blendmode );
|
void GRRLIB_SetBlend( unsigned char blendmode );
|
||||||
unsigned char GRRLIB_GetBlend();
|
unsigned char GRRLIB_GetBlend();
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue