diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-10-21 16:07:39 -0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-10-21 16:07:39 -0200 |
commit | 15c59f3974b3701cf48e766da1ff1bd391cbddb4 (patch) | |
tree | a20c04ceddfab92b00d416fb09f0f8a3339b5329 /src/citra_qt/config.cpp | |
parent | 09fa3aa338852dd26f78432f2189ebc4f81ce70e (diff) |
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.
Diffstat (limited to 'src/citra_qt/config.cpp')
0 files changed, 0 insertions, 0 deletions