mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] added support for RGBA, BGRA and 10-bit RGBA
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user