VirtGL: Fix warning about glo_sanity_test
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Thu, 29 Aug 2013 09:32:16 +0000 (11:32 +0200)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Wed, 11 Sep 2013 09:13:42 +0000 (18:13 +0900)
tizen/src/hw/gloffscreen_wgl.c
tizen/src/hw/gloffscreen_xcomposite.c

index 610a911..ee2d0a7 100644 (file)
@@ -112,6 +112,7 @@ int glo_initialised(void) {
     return glo_inited;
 }
 
+#if 0
 /* Sanity test of the host GL capabilities to see whether the gl offscreen
  * could be well supported
  */
@@ -143,6 +144,7 @@ int glo_sanity_test (void) {
     }
     return 0;
 }
+#endif
 
 /* Initialise gloffscreen */
 int glo_init(void) {
index 14123e9..059cecf 100644 (file)
@@ -106,12 +106,14 @@ static int x_errhandler(Display *dpy, XErrorEvent *e)
     return 0;
 }
 
+#if 0
 /* Sanity test of the host GL capabilities to see whether the gl offscreen
  * could be well supported
  */
 int glo_sanity_test (void) {
     return 0;
 }
+#endif
 
 /* Initialise gloffscreen */
 int glo_init(void) {