mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 11:03:45 +01:00
Oops, the vertexdecoder should read vertex alpha.
Copy/paste mistake... ugh.
This commit is contained in:
1 parent
aab3bd6227
commit
ff25b9d20e
3 files changed
+11
-6
No files matched your search
@@ -1525,7 +1525,12 @@ void FramebufferManager::PackFramebufferSync_(VirtualFramebuffer *vfb) {
|
||||
(u32)bufSize, packed, fb_address);
|
||||
|
||||
glPixelStorei(GL_PACK_ALIGNMENT, 4);
|
||||
glReadPixels(0, 0, vfb->fb_stride, vfb->height, GL_RGBA, GL_UNSIGNED_BYTE, packed);
|
||||
GLenum glfmt = GL_RGBA;
|
||||
#if defined(MAY_HAVE_GLES3)
|
||||
if (UseBGRA8888())
|
||||
glfmt = GL_BGRA_EXT;
|
||||
#endif
|
||||
glReadPixels(0, 0, vfb->fb_stride, vfb->height, glfmt, GL_UNSIGNED_BYTE, packed);
|
||||
GLenum error = glGetError();
|
||||
switch(error) {
|
||||
case 0:
|
||||
|
||||
Reference in new issue
Block a user