declare variable type each variables
use glfwExtensionSupported instead of searching from GL_EXTENSIONS