src/video/SDL_surface.c
changeset 3011 8f4ed5ec2b06
parent 2884 9dde605c7540
child 3013 8cc00819c8d6
     1.1 --- a/src/video/SDL_surface.c	Fri Jan 09 20:41:31 2009 +0000
     1.2 +++ b/src/video/SDL_surface.c	Fri Jan 09 20:43:30 2009 +0000
     1.3 @@ -479,9 +479,9 @@
     1.4          return 0;
     1.5      }
     1.6  
     1.7 -    switch (surface->map->
     1.8 -            info.flags & (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD |
     1.9 -                          SDL_COPY_MOD)) {
    1.10 +    switch (surface->map->info.
    1.11 +            flags & (SDL_COPY_MASK | SDL_COPY_BLEND | SDL_COPY_ADD |
    1.12 +                     SDL_COPY_MOD)) {
    1.13      case SDL_COPY_MASK:
    1.14          *blendMode = SDL_BLENDMODE_MASK;
    1.15          break;