aboutsummaryrefslogtreecommitdiff
path: root/src/libGLESv2/Context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libGLESv2/Context.cpp')
-rw-r--r--src/libGLESv2/Context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libGLESv2/Context.cpp b/src/libGLESv2/Context.cpp
index 2ec15389..bd814edf 100644
--- a/src/libGLESv2/Context.cpp
+++ b/src/libGLESv2/Context.cpp
@@ -2341,7 +2341,7 @@ void Context::invalidateFrameBuffer(GLenum target, GLsizei numAttachments, const
if (attachment)
{
- renderTarget = attachment->getDepthStencil();
+ renderTarget = attachment->getRenderTarget();
}
}