# How can I position framebuffer objects on the screen in OpenGL?

I currently have two framebuffers which are drawn using

glBlitFramebuffer(0, 0, 1920, 1080, 0, 0, 1920, 1080,
GL_COLOR_BUFFER_BIT, GL_NEAREST);


But the texture does not take up the whole screen, and I would like to position it at a certain x,y on the screen. The images by default start from 0,0 and then span the width/height provided, however I would like the image to start at say, [100, 100] and span the width/height provided.

How would I do this?

• – 3Dave Jul 27 '18 at 18:57

void Graphics::fboToScreen(GLuint fbo){