Преглед изворни кода

Corrected name of SDL_Color field from unused to a.

Philipp Wiesemann пре 11 година
родитељ
комит
90afb94ec6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/video/directfb/SDL_DirectFB_render.c

+ 1 - 1
src/video/directfb/SDL_DirectFB_render.c

@@ -308,7 +308,7 @@ DisplayPaletteChanged(void *userdata, SDL_Palette * palette)
         entries[i].r = palette->colors[i].r;
         entries[i].g = palette->colors[i].g;
         entries[i].b = palette->colors[i].b;
-        entries[i].a = palette->colors[i].unused;
+        entries[i].a = palette->colors[i].a;
     }
     SDL_DFB_CHECKERR(surfpal->SetEntries(surfpal, entries, ncolors, 0));
     return 0;