Commit 067f3238 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Do not return GL_COLOR_ATTACHMENT0 for the back-buffer in wined3d_texture_get_gl_buffer().

This should no longer be needed. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 5e4eaa32
......@@ -68,11 +68,6 @@ GLenum wined3d_texture_get_gl_buffer(const struct wined3d_texture *texture)
if (texture == swapchain->back_buffers[0])
{
if (swapchain->render_to_fbo)
{
TRACE("Returning GL_COLOR_ATTACHMENT0.\n");
return GL_COLOR_ATTACHMENT0;
}
TRACE("Returning GL_BACK.\n");
return GL_BACK;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment