Check if the program can execute given the current OpenGL state.
program (int) – Handle of program to validate. Must have originated from a createProgram() or glCreateProgram call.
createProgram()