Blender Git Loki

Git Commits -> Revision bfaf7a3

Revision bfaf7a3 by Mike Erwin (master)
April 27, 2017, 15:24 (GMT)
OpenGL: stop enabling GL_TEXTURE

Texturing is always enabled in GLSL. Simply use a sampler in the shader.

Replaced gpu_generate_mipmap with glGenerateMipmap since the former just Enabled/Disabled the texture target and called the latter.

Part of T51164

Commit Details:

Full Hash: bfaf7a3eb15e36e69fc00448e6c7fd938a6fa2fa
Parent Commit: a49708a
Lines Changed: +5, -58

4 Modified Paths:

/source/blender/editors/space_view3d/drawmesh.c (+0, -8) (Diff)
/source/blender/gpu/GPU_draw.h (+0, -1) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+5, -33) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+0, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021