Skip to content
  • Paul Berry's avatar
    mesa: Fix extra memset in store_tfeedback_info() · 1be0fd8c
    Paul Berry authored
    Commit 9d36c96d
    
     (mesa: Fix
    glGetTransformFeedbackVarying()) accidentally added an extra memset()
    call to the store_tfeedback_info() function, causing
    prog->LinkedTransformFeedback.NumBuffers to be erased.
    
    This patch removes the extra memset and rearranges the other
    operations in store_tfeedback_info() to be in the correct order.
    
    Fixes piglit tests "EXT_transform_feedback/api-errors *unbound*"
    
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
    1be0fd8c