Trying to load images for textures using SOIL, but it can be loaded only from program's directory, any other variants doesnt work(((( This code doesnt work:
mage = SOIL_load_image("C:\\Codes\\Instinct\\March\\V 0.5\\3. UI\\bin\\Debug\\1\\3.jpg", &width, &height, 0, SOIL_LOAD_RGB);
This code works:
image = SOIL_load_image("3.jpg", &width, &height, 0, SOIL_LOAD_RGB);
Any ideas how to fix it?