Repaired readiness errors of opengl