From 01807a0499bd6e7bd3727948c2b74bbeda9ee663 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Thu, 23 Apr 2015 17:25:21 +0600 Subject: [PATCH] Fix FrameBuffer_CopyDepthBuffer: return false for GLES2 case. --- src/FrameBuffer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FrameBuffer.cpp b/src/FrameBuffer.cpp index 2117263a..4481bd10 100644 --- a/src/FrameBuffer.cpp +++ b/src/FrameBuffer.cpp @@ -1147,6 +1147,8 @@ bool DepthBufferToRDRAM::CopyToRDRAM( u32 _address) { bool FrameBuffer_CopyDepthBuffer( u32 address ) { #ifndef GLES2 return g_dbToRDRAM.CopyToRDRAM(address); +#else + return false; #endif }