aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/common_types.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-10-21 16:07:39 -0200
committerGravatar Yuri Kunde Schlesner <yuriks@yuriks.net>2014-10-21 16:07:39 -0200
commit15c59f3974b3701cf48e766da1ff1bd391cbddb4 (patch)
treea20c04ceddfab92b00d416fb09f0f8a3339b5329 /src/common/common_types.h
parent09fa3aa338852dd26f78432f2189ebc4f81ce70e (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/common/common_types.h')
0 files changed, 0 insertions, 0 deletions