Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ludolover

Pages: [1]
1
I have a vertex array that is being processed, then drawn to a RenderWindow. After calling display on the window, I want to clear the vertex array, making it ready for another round of processing. However, when clearing it - nothing shows up in the window. It works when not clearing, but now I'm drawing junk since the number of vertices differ between frames...

my loop (pseudo):

  populate vertex array
  clear window
  draw vertex array to window
  display window
  clear vertex array (now nothing shows in window)

Am i doing something wrong here (probably)? Help!

 
 

Pages: [1]