mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-25 03:09:13 +01:00
D3D9: Correct depth readback.
This commit is contained in:
1 parent
199bfe4596
commit
d83f736b1f
2 files changed
+6
-4
No files matched your search
@@ -134,7 +134,10 @@
|
||||
}
|
||||
|
||||
void FramebufferManagerDX9::PackFramebufferSync(VirtualFramebuffer *vfb, int x, int y, int w, int h, RasterChannel channel) {
|
||||
if (channel != RASTER_COLOR) {
|
||||
if (channel == RASTER_DEPTH) {
|
||||
PackDepthbuffer(vfb, x, y, w, h);
|
||||
return;
|
||||
} else if (channel != RASTER_COLOR) {
|
||||
// Unsupported
|
||||
WARN_LOG_ONCE(d3ddepthreadback, G3D, "Not yet supporting depth readbacks on DX9");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user