I try to read texture files (jpg, tga) but I can't. The problem is that on GLUT ES, fopen() on a jpg or tga file gives a null pointer whereas on a txt file, there is no problem. On EGL, the problem is :
Data Abort: Thread=9744e000 Proc=80096f40 'texture.exe'
AKY=00004001 PC=0001bdd0(texture.exe+0x0000bdd0) RA=00015024(texture.exe+0x00005024) BVA=1e000004 FSR=00000407
Unhandled exception at 0x0001bdd0 in texture.exe: 0xC0000005: Access violation reading location 0x00000004.
The thread 0x5792b1ee has exited with code 0 (0x0).
Could anyone help me ?