[CHG] Several optimizations

This commit is contained in:
Xane 2009-03-11 19:48:36 +00:00
parent 67987d304b
commit 61db0e3998
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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();