glViewport() now translates to Gila.setViewportSize()
glTexParameter*()'s equivalents don't wait for texture upload to apply, but mipmaps do