소스 검색

Make GDScript-Function ( bool OS.is_fullscreen() ) work

hurikhan 10 년 전
부모
커밋
cd90215cec
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      platform/x11/os_x11.cpp

+ 1 - 0
platform/x11/os_x11.cpp

@@ -569,6 +569,7 @@ void OS_X11::set_fullscreen(bool p_fullscreen) {
 }
 
 bool OS_X11::is_fullscreen() const {
+	return current_videomode.fullscreen;
 }
 
 InputModifierState OS_X11::get_key_modifier_state(unsigned int p_x11_state) {