Can not change the loaded texture in OpenGL ES

This topic contains 1 reply, has 2 voices, and was last updated by  rassall_jubair 8 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29934

    I want to change the JPG picture that I am using for the texture in OpenGL ES.
    This is my code for loading the texture:

    _LIT(KHubbleTexture,
    “nasa_hubble.jpg”);
    iTextureManager->RequestToLoad(KHubbleTexture,
    &iNasaHubble);
    iTextureManager->DoLoadL();

    I started with the
    example project from the OpenGLEx texture project from Nokia, which I have
    modified. Whatever I do, the same texture is loaded. When I change the texture
    file from nasa_hubble.jpg to a texture with another name, I get errors. When I
    replace the original texture with a new texture but with the same name, the
    original texture is still loaded. It is very strange, because the original
    nasa_hubble.jpg texture is not in the project anymore. What can I do to get the
    new texture loaded?

    #33407

    Dear Friend,

     

    If u want to change your image file then u have to change this file name in .pkg file & .bld file.

     

    Thanks..
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.