Blender Git Loki

Git Commits -> Revision c30c3fd

Revision c30c3fd by Antonis Ryakiotakis (master)
August 7, 2015, 14:16 (GMT)
Attempt to fix T45718, crash when enabling GLSL mode with UV layers.

I can't reproduce issue here but crash is most likely caused by passing
a NULL pointer to glUniform2fv.

This is caused by OpenSubdiv changes to the codegen module, which pass
mtex layers to the uniform system
even when not needed.

Since Sergey is demoing OpenSubdiv in a few days, I'll
go with the easy fix for now which is just checking for NULL pointer, but
this needs to be fixed properly at some point.

Commit Details:

Full Hash: c30c3fde51fb5ca6780ef436678c9d4aa07f400c
Parent Commit: 9becee4
Lines Changed: +1, -1

1 Modified Path:

/source/blender/gpu/intern/gpu_extensions.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021