Ticket #37043: patch-ARB-RNA3D_Textures.cxx.diff
File patch-ARB-RNA3D_Textures.cxx.diff, 584 bytes (added by mattcottrell, 12 years ago) |
---|
-
RNA3D/RNA3D_Textures.cxx
old new 61 61 pngInfo info; 62 62 63 63 // 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); 65 65 66 66 if (texture[i] == 0) { 67 67 throw string(GBS_global_string("Error loading %s", ImageFile));