mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-01-30 03:26:55 -06:00
15c59f3974
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.