I have some png files that want to embed in the executable, i read on the net about creating a hex from the png and use that array to create the image
So i take a online binary to hex online like this one (i tried several) http://tomeko.net/online_tools/file_to_hex.php?lang=en and convert my png in a unsigned char array
later i create a texture and load the array into it
textura.loadData(pixel_data, 103, 39, GL_RGBA);
but is show like a mess of pixels… any clue on what can be wrong ?