1. Jason McKesson
  2. gltut

Issues

Issue #84 open

Tut 16: InitializeProgram() tries to re-use deleted vertex-shader

Christian Forfang
created an issue

Framework::CreateProgram(shaderList) deletes all the shaders in the list, so when InitializeProgram() tries to re-use the vertex-shader (by keeping it in the list) on line 35 it doesn't work.

The obvious fix is of course to recreate the shader. I attached a diff which changes GammaRamp.cpp to do this.

That aside, thanks for writing the guide! It's been great learning from it. :)

Comments (1)

  1. Log in to comment