summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2013-04-10 16:02:59 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-04-10 18:12:42 +0100
commit9b2294c03f436c847844b6e8f9f486f0f001f2f4 (patch)
tree2b5b55d54e5c9c17c65fc156f8482dd1d4afceaa /glx
parent72de8b2bc6a5945ba50532c470df576b4fffcbb2 (diff)
Fix implicit-function-declaration warning in DrawableGone() by adding a prototype for FlushContext()
glxext.c: In function 'DrawableGone': glxext.c:142:13: error: implicit declaration of function 'FlushContext' [-Werror=implicit-function-declaration] FlushContext(c); ^ This is a follow-up patch to "glx: Flush context which is being made non-current due to the drawable going away"
Diffstat (limited to 'glx')
-rw-r--r--glx/glxcontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glx/glxcontext.h b/glx/glxcontext.h
index 4764e56f5..972ff3918 100644
--- a/glx/glxcontext.h
+++ b/glx/glxcontext.h
@@ -139,4 +139,6 @@ extern __GLXcontext *__glXdirectContextCreate(__GLXscreen * screen,
__GLXconfig * modes,
__GLXcontext * shareContext);
+extern void FlushContext(__GLXcontext * cx);
+
#endif /* !__GLX_context_h__ */