lwjglgamedev / lwjglbook-leg

Source code of the chapters of the book 3D Game Development with LWJGL 3
https://ahbejarano.gitbook.io/lwjglgamedev/
Apache License 2.0
560 stars 202 forks source link

Call glGetProgramInfoLog instead of glGetShaderInfoLog #84

Closed neomonkeus closed 4 years ago

neomonkeus commented 4 years ago

All chapters except chpt5-2 use glGetProgramInfoLog. Update to make this consistent.

lwjglgamedev commented 4 years ago

Thanks !

neomonkeus commented 4 years ago

One thing I was going to suggest as optional was to add was a trim() as the default char 1024 size causes white spacing in the console?

lwjglgamedev commented 4 years ago

Yes it could be helpful. I will change that, and also use default length provided by LWJGL.