Failed day (find bug)

   

  The day before yesterday morning came to the laboratory, ready to seize the time to write the code, after all, the next day would be set up. Point a mouse click, find the display can not wake up, then prepare forced off and on (I generally do not shut down, unable to wake up several times previously encountered), found that the host does not shine down, and then press the light switch is not aware computer broken! ! !

  Later that overhaul, the card returned to the manufacturer, installed a spare card GTX1080 -> GTX1660, run the program last night and found the program not start, OpenGL encountered an error, I think, is driving the problem, reinstall or not .

  Today looking for a day, they discovered the problem in just

glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, GL_RGBA, GL_FLOAT, data);

  I have written here before data NULL, no error in the original graphics, nuclear was not an error, an error on the current card. . . .

  

 

Guess you like

Origin www.cnblogs.com/chen9510/p/12019909.html