mirror of
https://github.com/yawut/SDL.git
synced 2026-07-02 00:13:39 -05:00
Fixes wrong assignment of SDL_Color "unused" member in DirectFB backend.
This commit is contained in:
parent
d7872e4502
commit
fa687ecfd4
|
|
@ -669,7 +669,7 @@ DirectFB_GetTexturePalette(SDL_Renderer * renderer,
|
|||
colors[i].r = entries[i].r;
|
||||
colors[i].g = entries[i].g;
|
||||
colors[i].b = entries[i].b;
|
||||
colors->unused = SDL_ALPHA_OPAQUE;
|
||||
colors[i].unused = SDL_ALPHA_OPAQUE;
|
||||
}
|
||||
return 0;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user