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]
Show differencesHistory of post edits
#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]
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
On the vertex shader.
L. Spiro