[client] added support for RGBA, BGRA and 10-bit RGBA

This commit is contained in:
Geoffrey McRae
2018-12-04 21:23:28 +11:00
parent 1beeac545d
commit 75ffcacfe4
7 changed files with 54 additions and 15 deletions

View File

@@ -878,7 +878,8 @@ static bool configure(struct Inst * this, SDL_Window *window)
switch(this->format.type)
{
case FRAME_TYPE_ARGB:
case FRAME_TYPE_BGRA:
case FRAME_TYPE_RGBA:
this->decoder = &LGD_NULL;
break;