Fix: OpenGL renders on graphics cards which do not support non-power-of-two
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 28 Oct 2011 16:57:06 +0000 (16:57 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 28 Oct 2011 16:57:06 +0000 (16:57 +0000)
commited77c356fc1c323cef306fef2e7af03fd67a6871
treebf7c31d131d6fc65030c3bcf9940469c8450813e
parent7627a742ab6e630522186b04a71fa40533d87db2
Fix: OpenGL renders on graphics cards which do not support non-power-of-two
textures were stretched and the wrong size.
source/blender/editors/render/render_opengl.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/gpu/GPU_extensions.h
source/blender/gpu/intern/gpu_extensions.c
source/blender/gpu/intern/gpu_material.c