mirror of
https://github.com/libretro/scenewalker-libretro.git
synced 2024-11-27 10:00:50 +00:00
Allow for zero-byte in shader log.
This commit is contained in:
parent
763cb643fc
commit
82de806a81
@ -25,7 +25,7 @@ namespace GL
|
||||
|
||||
if (len > 0)
|
||||
{
|
||||
std::vector<char> buf(len);
|
||||
std::vector<char> buf(len + 1);
|
||||
GLsizei out_len;
|
||||
SYM(glGetProgramInfoLog)(prog, len, &out_len, buf.data());
|
||||
|
||||
@ -53,7 +53,7 @@ namespace GL
|
||||
|
||||
if (len > 0)
|
||||
{
|
||||
std::vector<char> buf(len);
|
||||
std::vector<char> buf(len + 1);
|
||||
GLsizei out_len;
|
||||
SYM(glGetShaderInfoLog)(shader, len, &out_len, buf.data());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user