citra-emu/citra — pull request #145 by yuriks (2014-10-21 18:14:20+00:00)
Title: Only check OpenGL shader log if size is >1.

This prevents a crash when the buffer size returned by the driver is 0,
in which case no space is allocated to store even the NULL byte and
glGetShaderInfoLog errors out.

Thanks to @Relys for the bug report.