diff options
| author | 2014-10-21 16:07:39 -0200 | |
|---|---|---|
| committer | 2014-10-21 16:07:39 -0200 | |
| commit | 15c59f3974b3701cf48e766da1ff1bd391cbddb4 (patch) | |
| tree | a20c04ceddfab92b00d416fb09f0f8a3339b5329 /src/common/string_util.cpp | |
| parent | Merge pull request #144 from archshift/graceful-quit (diff) | |
| download | yuzu-15c59f3974b3701cf48e766da1ff1bd391cbddb4.tar.gz yuzu-15c59f3974b3701cf48e766da1ff1bd391cbddb4.tar.xz yuzu-15c59f3974b3701cf48e766da1ff1bd391cbddb4.zip | |
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/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions