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: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5e4eaa3264
commit
067f323844
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue