Home > Back-end >  Please run glUseProgram program will automatically quit what should I do
Please run glUseProgram program will automatically quit what should I do

Time:09-19

Copy the code of the classmate, wrote a OPENGL program, but a little open automatically flash back, and then step through and found, in the init () executes to
Program=InitShader (" vshader82. GLSL ", "fshader82. GLSL");
GlUseProgram (program);
And could you tell me how to modify the exit?

CodePudding user response:

Excuse me, can you solve it I also encountered this problem!
  • Related