Oops, the vertexdecoder should read vertex alpha.

Copy/paste mistake... ugh.
This commit is contained in:
Unknown W. Brackets committed 2014-05-04 09:05:45 -07:00
1 parent aab3bd6227
commit ff25b9d20e
3 files changed
+11 -6

No files matched your search

+6 -1
View File
@@ -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: