• Chia-I Wu's avatar
    st/mesa: Fix glEGLImageTargetTexture2DOES. · 0f74efde
    Chia-I Wu authored
    stObj->pt should be set in st_bind_surface, just as in st_TexImage.  On
    the other hand, st_TexImage should unreference stObj->pt.  It also needs
    to initialize the texture image again as _mesa_clear_texture_object
    clears the image.
    0f74efde
st_cb_eglimage.c 5.08 KB