Ticket #37043: patch-ARB-RNA3D_Textures.cxx.diff

File patch-ARB-RNA3D_Textures.cxx.diff, 584 bytes (added by mattcottrell, 12 years ago)

Patch file for RNA3D_Textures.cxx

  • RNA3D/RNA3D_Textures.cxx

    old new  
    6161        pngInfo  info;
    6262
    6363        // Using pngLoadAndBind to set texture parameters automatically.
    64         texture[i] = pngBind(ImageFile, PNG_NOMIPMAP, PNG_ALPHA, &info, GL_CLAMP, GL_NEAREST, GL_NEAREST);
     64        texture[i] = pngBind(ImageFile, GLPNG_NOMIPMAP, GLPNG_ALPHA, &info, GL_CLAMP, GL_NEAREST, GL_NEAREST);
    6565
    6666        if (texture[i] == 0) {
    6767            throw string(GBS_global_string("Error loading %s", ImageFile));