Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualBornToCode

Posted 05 July 2013 - 03:30 PM

If the data is smaller there is no need to call glBufferData. As MarkS mention glBufferData reallocate the memory for the active buffer, which in turn will trash whatever data you had in there. The gl drawing routines allows you to render just a section of that buffer, so there is no need to reallocate if you just downsize the buffer.


#1BornToCode

Posted 05 July 2013 - 03:29 PM

If the data is smaller there is no need to call glBufferData. As MarkS mention glBufferData reallocate the memory for the active buffer, which in turn will trash whatever data you had in there.


PARTNERS