Blender Git Loki

Git Commits -> Revision c507294

Revision c507294 by Mike Erwin (master)
October 25, 2016, 05:02 (GMT)
OpenGL: clean up glActiveTexture usage

Removed some of my earlier glActiveTexture calls. After reviewing the
code I now trust that GL_TEXTURE0 is active by default. Fewer GL calls,
same results.

Fixed some misuse of glActiveTexture & glUniformi, mostly my fault.
Caught by --debug-gpu on Windows. Don't know why this appeared to be
working previously!

Plus some easy cleanup nearby.

Commit Details:

Full Hash: c5072941c3902bd91824a7d8756933dbf97f78cf
Parent Commit: 4d11b2f
Lines Changed: +38, -48

5 Modified Paths:

/source/blender/editors/space_view3d/drawobject.c (+1, -3) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+6, -5) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+25, -25) (Diff)
/source/blender/gpu/intern/gpu_viewport.c (+1, -4) (Diff)
/source/blender/windowmanager/intern/wm_stereo.c (+5, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021