Fix buffer overflow.

This commit is contained in:
Bartosz Taudul 2022-04-26 22:42:54 +02:00
parent 7493663e13
commit bc36f5ff27
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -444,7 +444,7 @@ GL3W_API GL3WglProc imgl3wGetProcAddress(const char *proc);
/* gl3w internal state */ /* gl3w internal state */
union GL3WProcs { union GL3WProcs {
GL3WglProc ptr[53]; GL3WglProc ptr[55];
struct { struct {
PFNGLACTIVETEXTUREPROC ActiveTexture; PFNGLACTIVETEXTUREPROC ActiveTexture;
PFNGLATTACHSHADERPROC AttachShader; PFNGLATTACHSHADERPROC AttachShader;