Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获得过剩窗口模式。
如果过剩窗口处于全屏模式,是否有一个内置函数返回?
如果您使用FreeGLUT扩展(freeglut.h而不是glut.h),您可以传递GLUT_FULL_SCREEN给glutGet():
freeglut.h
glut.h
GLUT_FULL_SCREEN
glutGet()
bool isFullscreen = ( 1 == glutGet( GLUT_FULL_SCREEN ) );