Commit Graph

4 Commits (33a113a4753863ce1f526af8a52dc8a046d53325)

Author SHA1 Message Date
Pierre Ossman 33a113a475 Handle empty rects in RAW decoder as well
It was overlooked in the previous commit because we couldn't feed
empty data messages through the test framework.
4 years ago
Pierre Ossman 073737c8ac Handle empty rects from the server
These are very pointless for the server to send, but not a violation of
the protocol so we need to be able to handle them. We've seen this
happen in real world scenarios a few times.
4 years ago
Pierre Ossman ae1bc396bf Standardise on a single blit function
Keep everything simpler by always blitting in the same pixel format.
It's up to the decoders to convert if they need to.
4 years ago
Pierre Ossman 6fd1035fb1 Split decoder tests to separate files 4 years ago