
Observe the jagged edges
I've done it in OpenGL, but only in Linux, and I want to do it in windows. In Linux, these two calls do the job
glBlitFramebuffer(0, 0, 512, 512, 256-rez/2, 256-rez/2, 256+rez/2, 256+rez/2, GL_COLOR_BUFFER_BIT, GL_LINEAR);
glBlitFramebuffer(256-rez/2, 256-rez/2, 256+rez/2, 256+rez/2, 0, 0, 512, 512, GL_COLOR_BUFFER_BIT, GL_LINEAR);
in a 512x512 window where "rez" is the edge length of a square (such as 256) that the scene is reduced to (first call) and then scaled back from (second call).
This works just fine in Linux, but crashes my program in Windows. Any ideas?









