Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#ActualL. Spiro

Posted 31 August 2012 - 05:06 AM

After setting the stream to the end of the file and calling ::ftell(), you never set the stream back to the beginning of the file before you try to read it.
On the vertex shader.


L. Spiro


[EDIT]
I stopped reading as soon as I saw the problem. Even if it was just one last post with a single sentence explaining the solution.
[/EDIT]

#2L. Spiro

Posted 31 August 2012 - 05:06 AM

After setting the stream to the end of the file and calling ::ftell(), you never set the stream back to the beginning of the file before you try to read it.
On the vertex shader.


L. Spiro


[EDIT]
I stopped reading as soon as I see the problem. Even if it was just one last post with a single sentence explaining the solution.
[/EDIT]

#1L. Spiro

Posted 31 August 2012 - 05:05 AM

After setting the stream to the end of the file and calling ::ftell(), you never set the stream back to the beginning of the file before you try to read it.
On the vertex shader.


L. Spiro

PARTNERS