I am trying to get the projected texture in “https://www.opengl.org/archives/resources/code/samples/mjktips/projtex/index.html” to work. I used a .bin file however I get the following error in the imgLoad function, right at (p[0] = borderColorIn[0] * 0xff;) . Any idea?
Unhandled exception at 0x009D4780 in ProjTex.exe: 0xC0000005: Access violation writing location 0x00000000.