Blender Git Loki

Git Commits -> Revision 2e63029

Revision 2e63029 by Clément Foucault (master)
August 21, 2020, 12:25 (GMT)
GPUShader: Fix linking working even if one shader compilation failed

Linking without valid shaders works on some drivers. Avoid this case by
forcing linking step to return false.

Commit Details:

Full Hash: 2e630297afc19ef4e69b8afe79dfd337171dbd60
Parent Commit: 3a6e981
Lines Changed: +8, -1

2 Modified Paths:

/source/blender/gpu/opengl/gl_shader.cc (+5, -0) (Diff)
/source/blender/gpu/opengl/gl_shader.hh (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021