VirtGL: Fix warning about glo_surface_updatecontents
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:58 +0000 (18:13 +0900)
gloffscreen_xcomposite.c:406:6: attention : no previous prototype for
‘glo_surface_updatecontents’

tizen/src/hw/gloffscreen.h

index 474aadc6ab7893d0fac525add9004c9f441e3f0a..d46f96c02e15e627a1fb7c891f221dbdc8a41fb0 100644 (file)
@@ -126,6 +126,7 @@ extern int glo_get_glx_from_flags(int formatFlags, int glxEnum);
 extern void glo_geometry_get_from_glx(const int* attrib_list, int* width, int* height);
 
 extern void glo_surface_release_texture(GloSurface *surface);
+extern void glo_surface_updatecontents(GloSurface *surface);
 
 /* In terms of speed, glReadPixels actually seems the best we can do.
  * * On Windows PFB_DRAW_TO_BITMAP is software-only.