mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
Add a copy path to ConvertColors RGBA8888.
It's not actually ever called this way, but I'd rather not let someone get confused if they try to.
This commit is contained in:
1 parent
88fbe6c1b5
commit
390f0d79fc
1 file changed
+2
@@ -700,6 +700,8 @@ static void ConvertColors(void *dstBuf, const void *srcBuf, GLuint dstFmt, int n
|
||||
default:
|
||||
{
|
||||
// No need to convert RGBA8888, right order already
|
||||
if (dst != src)
|
||||
memcpy(dst, src, numPixels * sizeof(u32));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user