Fixes wrong assignment of SDL_Color "unused" member in DirectFB backend.
This commit is contained in:
parent
3269062684
commit
1984b3b92e
1 changed files with 1 additions and 1 deletions
|
@ -669,7 +669,7 @@ DirectFB_GetTexturePalette(SDL_Renderer * renderer,
|
||||||
colors[i].r = entries[i].r;
|
colors[i].r = entries[i].r;
|
||||||
colors[i].g = entries[i].g;
|
colors[i].g = entries[i].g;
|
||||||
colors[i].b = entries[i].b;
|
colors[i].b = entries[i].b;
|
||||||
colors->unused = SDL_ALPHA_OPAQUE;
|
colors[i].unused = SDL_ALPHA_OPAQUE;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue