include/SDL_video.h
branchSDL-1.3
changeset 1676 e136f3ffdc1b
parent 1675 d33dcfc3fde7
child 1678 90bf530ced8e
     1.1 --- a/include/SDL_video.h	Sun Jun 11 07:30:16 2006 +0000
     1.2 +++ b/include/SDL_video.h	Mon Jun 12 09:10:06 2006 +0000
     1.3 @@ -201,11 +201,11 @@
     1.4   */
     1.5  typedef enum
     1.6  {
     1.7 -    SDL_TextureBlendMode_None,  /**< No blending */
     1.8 -    SDL_TextureBlendMode_Mask,  /**< dst = A ? src : dst (alpha is mask) */
     1.9 -    SDL_TextureBlendMode_Blend, /**< dst = (src * A) + (dst * (1-A)) */
    1.10 -    SDL_TextureBlendMode_Add,   /**< dst = (src * A) + dst */
    1.11 -    SDL_TextureBlendMode_Mod,   /**< dst = src * dst */
    1.12 +    SDL_TextureBlendMode_None = 0x00000000,     /**< No blending */
    1.13 +    SDL_TextureBlendMode_Mask = 0x00000001,     /**< dst = A ? src : dst (alpha is mask) */
    1.14 +    SDL_TextureBlendMode_Blend = 0x00000002,    /**< dst = (src * A) + (dst * (1-A)) */
    1.15 +    SDL_TextureBlendMode_Add = 0x00000004,      /**< dst = (src * A) + dst */
    1.16 +    SDL_TextureBlendMode_Mod = 0x00000008,      /**< dst = src * dst */
    1.17  } SDL_TextureBlendMode;
    1.18  
    1.19  /**
    1.20 @@ -215,10 +215,10 @@
    1.21   */
    1.22  typedef enum
    1.23  {
    1.24 -    SDL_TextureScaleMode_None,  /**< No scaling, rectangles must match dimensions */
    1.25 -    SDL_TextureScaleMode_Fast,  /**< Point sampling or equivalent algorithm */
    1.26 -    SDL_TextureScaleMode_Slow,  /**< Linear filtering or equivalent algorithm */
    1.27 -    SDL_TextureScaleMode_Best,  /**< Bicubic filtering or equivalent algorithm */
    1.28 +    SDL_TextureScaleMode_None = 0x00000000,     /**< No scaling, rectangles must match dimensions */
    1.29 +    SDL_TextureScaleMode_Fast = 0x00000001,     /**< Point sampling or equivalent algorithm */
    1.30 +    SDL_TextureScaleMode_Slow = 0x00000002,     /**< Linear filtering or equivalent algorithm */
    1.31 +    SDL_TextureScaleMode_Best = 0x00000004,     /**< Bicubic filtering or equivalent algorithm */
    1.32  } SDL_TextureScaleMode;
    1.33  
    1.34  /**