Original Post
Hello, I'm trying to use the upper-left as origin for window coordinates in OpenGL, I've got a function that converts between those and it works great when setting up the viewport (glViewport). But when I try to render to a texture using a FBO, I get the lower-left corner even though my viewport is in the upper-left! Don't FBOs use the current viewport? Thanks for any help.