[英]How to change the size of the texture when displayed it on the screen in openGL (version> 3.3)?
[英]How to automatically select screen size in OpenGL
我有 2 个屏幕。 1 为 1920*1080,2 屏幕为 1024*768。 当显示器 2 检测到我的 OpenGL output 应该在该显示器中运行。
我尝试使用 glutInitWindowPostion(500,100) 但是当屏幕 2 未检测到时 output 将不会显示在显示器 1 中。另外,我尝试 glutFullScreen() 但它不起作用。
怎么做?
我正在使用 Glut 库来显示 window。 我正在使用 windows 7。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.