aboutsummaryrefslogtreecommitdiff
path: root/redist/CNFGXDriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'redist/CNFGXDriver.c')
-rw-r--r--redist/CNFGXDriver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/redist/CNFGXDriver.c b/redist/CNFGXDriver.c
index ebaed91..91b7233 100644
--- a/redist/CNFGXDriver.c
+++ b/redist/CNFGXDriver.c
@@ -161,7 +161,7 @@ void CNFGTearDown()
CNFGClassHint = NULL;
}
-void CNFGSetup( const char * WindowName, int w, int h )
+int CNFGSetup( const char * WindowName, int w, int h )
{
CNFGDisplay = XOpenDisplay(NULL);
atexit( CNFGTearDown );
@@ -206,6 +206,7 @@ void CNFGSetup( const char * WindowName, int w, int h )
#ifdef CNFGOGL
glXMakeCurrent( CNFGDisplay, CNFGWindow, CNFGCtx );
#endif
+ return 0;
}
void CNFGHandleInput()