glamor: Don't need to check status when set the target.
As we already checked the status when create the fbo. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
52cce9333f
commit
ef3ea0f46b
|
@ -83,9 +83,7 @@ glamor_validate_pixmap(PixmapPtr pixmap)
|
|||
void
|
||||
glamor_set_destination_pixmap_priv_nc(glamor_pixmap_private *pixmap_priv)
|
||||
{
|
||||
// glBindFramebuffer(GL_FRAMEBUFFER, pixmap_priv->fb);
|
||||
|
||||
glamor_pixmap_ensure_fb(pixmap_priv->container);
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, pixmap_priv->fb);
|
||||
#ifndef GLAMOR_GLES2
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
|
|
Loading…
Reference in New Issue