problem saving openGL FBO larger than window

后端 未结 4 653
猫巷女王i
猫巷女王i 2021-02-14 07:32

I\'m rendering into an OpenGL offscreen framebuffer object and like to save it as an image. Note that the FBO is larger than the display size. I can render into

4条回答
  •  难免孤独
    2021-02-14 08:17

    Two questions to start: How are you creating imageSaver and are you sure your width and height are correct (e.g. are you trying to save a 1024 x 1024 image? What size are you getting)?

提交回复
热议问题