Updated OpenGL handles to type hResource