The full path is not the same, but i have a folder with two folders inside: "bin" and "res". The executable is inside bin, texture inside res, and I load the texture by choosing "../res" as current path and then opening "logo.tga". Of course i start the executable file from the bin dir.SkyRise wrote:Are you in the same directory on both Pi's?
Does your code reference a relative or static path for the image?
You got it!! Finally!! my gpu mem was too low, on development sd I raised it, but I did not do that on runtime sd. Moreover, I am not checking for errors after texture loading... Double mistake.Paeryn wrote:Have you got the GPU mem set too low on the "runtime" SD? Does your program check for any OpenGLES (and EGL) errors? If the textured polygon isn't showing but otherwise the program appears to work it could be that there wasn't enough GPU memory for the texture.
Users browsing this forum: No registered users and 2 guests