[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

@@ -381,7 +381,9 @@ int frameThread(void * unused)
size_t dataSize;
switch(header.type)
{
case FRAME_TYPE_ARGB:
case FRAME_TYPE_RGBA:
case FRAME_TYPE_BGRA:
case FRAME_TYPE_RGBA10:
dataSize = lgrFormat.height * lgrFormat.pitch;
lgrFormat.bpp = 32;
break;