The issue was going to the fact that GL_ALPHA was deprecated in core profile and common solution online is to use GL_RED instead. That is what is done in this commit.
The issue was going to the fact that GL_ALPHA was deprecated in core profile and common solution online is to use GL_RED instead. That is what is done in this commit.