Multiple windows in OpenGL?

前端 未结 5 1208
暗喜
暗喜 2021-02-06 02:53

Is it possible to have openGL in 2 windows? as in 2 different windows (lets say the first is 640x480 and the other is 1024x768) rendering different things (lets say one window i

5条回答
  •  猫巷女王i
    2021-02-06 03:14

    On Windows you can share OpenGL objects such as textures and shaders with wglShareLists(). It typically does share everything you'd care about, despite what MSDN says.

提交回复
热议问题