[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47608] trunk/blender/source/blender/gpu/ intern/gpu_draw.c: Index: source/blender/gpu/intern/gpu_draw.c

Antony Riakiotakis kalast at gmail.com
Fri Jun 8 15:20:04 CEST 2012


I found out what caused the image to reload, it was its non power of two
dimensions. In any case this commit avoids a full recalculation of mipmaps
in this case which is desired.

While at I think it would be a good idea to add mipmap generation through
glGenerateMipmaps and check for non-power-of-two support so that
non-power-of-two images can be sent to the GPU without scaling. It can save
some calculation for certain.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-blender-cvs/attachments/20120608/0043e981/attachment.html>


More information about the Bf-blender-cvs mailing list