diff src/video/nds/SDL_ndsrender.c @ 4929:aa8888658021

Use the enumerated type for blend and scale mode instead of int Renamed SDL_TextureScaleMode to SDL_ScaleMode
author Sam Lantinga <slouken@libsdl.org>
date Sun, 12 Dec 2010 15:19:05 -0800
parents f7b03b6838cb
children da10636e5eca
line wrap: on
line diff
--- a/src/video/nds/SDL_ndsrender.c	Thu Dec 02 11:56:23 2010 -0800
+++ b/src/video/nds/SDL_ndsrender.c	Sun Dec 12 15:19:05 2010 -0800
@@ -82,7 +82,7 @@
      (SDL_RENDERER_SINGLEBUFFER | SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTDISCARD | SDL_RENDERER_PRESENTVSYNC),  /* u32 flags */
      (SDL_TEXTUREMODULATE_NONE),        /* u32 mod_modes */
      (SDL_BLENDMODE_MASK),      /* u32 blend_modes */
-     (SDL_TEXTURESCALEMODE_FAST),       /* u32 scale_modes */
+     (SDL_SCALEMODE_FAST),       /* u32 scale_modes */
      3,                         /* u32 num_texture_formats */
      {
       SDL_PIXELFORMAT_INDEX8,