I guess in opengl for ortho if (left==right) or (top == bottom) or (far == near) it will raise a invalid value error. if u quiry glGetError() u will get it. So i guess you r using ortho fun wrongly…
Try with this “glOrtho ( 10.0 , Left , 10.0 ,Left , -1.0 , 1.0 );”
Actually if you look at the documentatio for it: https://www.opengl.org/sdk/docs/man2/xhtml/glOrtho.xml you’ll see that the generated matrix uses division by “right - left”, “top - bottom” and “far - near” in a number of places.
If these values were equal it would be division by zero.