Loading an image from a C source file, exported from GIMP
问题 I'm trying to load an openGL texture for a game. The texture is an image that has been exported as a .C source file from GIMP. When I #include this file in my project (using Visual C++ 2010 Ultimate), I get a compiler error saying fatal error C1091: compiler limit: string exceeds 65535 bytes in length Is there any workaround ? The reason I wanted to export the image as a C header file was so that the program compiles with the image, and I dont have to provide raw image files along with the