Blender Git Loki

Git Commits -> Revision 2d9eee1

Revision 2d9eee1 by Clément Foucault (master)
July 18, 2020, 01:14 (GMT)
Cleanup: GPU: Set default GL_UNPACK_ALIGNMENT to 1

Ogl default is 4 but for almost all cases, blender use tightly
packed format. This avoid confusion and state change for the
common case.

The only case that __might__ need alignement is DDS loader
(untested) so leaving this as it is.

Commit Details:

Full Hash: 2d9eee15c58ba1d3e2bd05a17ca09d74421c47ea
Parent Commit: 0ef57d3
Lines Changed: +7, -19

4 Modified Paths:

/source/blender/gpu/intern/gpu_draw.c (+5, -0) (Diff)
/source/blender/gpu/intern/gpu_state.c (+2, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+0, -12) (Diff)
/source/blender/windowmanager/intern/wm_gesture.c (+0, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021