deanm / plask

Plask is a multimedia programming environment.
www.plask.org
Other
443 stars 38 forks source link

3d2d results in flipped canvas #8

Closed hexuallyactive closed 13 years ago

hexuallyactive commented 13 years ago

If 3d2d is passed into simpleWindow, the resulting canvas seems flipped. The x, y coordinates are off, and more importantly text is rendered incorrectly.

deanm commented 13 years ago

I wonder how I didn't notice this, but it would make sense since OpenGL generally works from bottom left. I think I can fix this pretty easily. Should have a patch soon.

Thanks!

deanm commented 13 years ago

This should fix it, let me know if you see any trouble with it:

https://github.com/deanm/plask/commit/e171c75ff2c24506ee6b7dc2c2f42727aac1744c

Thanks! -- dean