소스 검색

Fix another couple of warnings

Daniele Bartolini 12 년 전
부모
커밋
be09ac828a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/os/linux/GLXRenderWindow.cpp

+ 4 - 0
src/os/linux/GLXRenderWindow.cpp

@@ -45,6 +45,8 @@ GLXDrawable		glx_window = None;
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------
 bool create_render_window(uint32_t x, uint32_t y, uint32_t width, uint32_t height, bool fullscreen)
 bool create_render_window(uint32_t x, uint32_t y, uint32_t width, uint32_t height, bool fullscreen)
 {
 {
+	(void)fullscreen;
+
 	assert(width != 0 && height != 0);
 	assert(width != 0 && height != 0);
 
 
 	display = XOpenDisplay(NULL);
 	display = XOpenDisplay(NULL);
@@ -159,6 +161,8 @@ bool destroy_render_window()
 
 
 		XCloseDisplay(display);
 		XCloseDisplay(display);
 	}
 	}
+
+	return true;
 }
 }
 
 
 //-----------------------------------------------------------------------------
 //-----------------------------------------------------------------------------