diff options
Diffstat (limited to 'Source/Core/VideoBackends/OGL/FramebufferManager.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/FramebufferManager.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/Core/VideoBackends/OGL/FramebufferManager.cpp b/Source/Core/VideoBackends/OGL/FramebufferManager.cpp index e64b4f3ad8..c356be9c61 100644 --- a/Source/Core/VideoBackends/OGL/FramebufferManager.cpp +++ b/Source/Core/VideoBackends/OGL/FramebufferManager.cpp @@ -385,19 +385,6 @@ XFBSource::~XFBSource() glDeleteTextures(1, &texture); } - -void XFBSource::Draw(const MathUtil::Rectangle<int> &sourcerc, - const MathUtil::Rectangle<float> &drawrc) const -{ - // Texture map xfbSource->texture onto the main buffer - glFramebufferTexture2D(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); - glBlitFramebuffer(sourcerc.left, sourcerc.bottom, sourcerc.right, sourcerc.top, - (int)drawrc.left, (int)drawrc.bottom, (int)drawrc.right, (int)drawrc.top, - GL_COLOR_BUFFER_BIT, GL_LINEAR); - - GL_REPORT_ERRORD(); -} - void XFBSource::DecodeToTexture(u32 xfbAddr, u32 fbWidth, u32 fbHeight) { TextureConverter::DecodeToTexture(xfbAddr, fbWidth, fbHeight, texture); |
