You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In RawImage.ToImage (RawImage.cs:257), two pixel formats are hard coded. If the screen buffer is 32-bit, ARGB is always assumed; if the screen buffer is 16-bit, RGB565 is always assumed.
The Microsoft Visual Studio Android emulator uses a RGB format, so the colors are off.
The following code reads the ARGB offsets and determines the pixel format based on these values:
Original Bug on CodePlex
In RawImage.ToImage (RawImage.cs:257), two pixel formats are hard coded. If the screen buffer is 32-bit, ARGB is always assumed; if the screen buffer is 16-bit, RGB565 is always assumed.
The Microsoft Visual Studio Android emulator uses a RGB format, so the colors are off.
The following code reads the ARGB offsets and determines the pixel format based on these values:
The text was updated successfully, but these errors were encountered: