diff options
author | Charles Lohr <lohr85@gmail.com> | 2018-03-22 00:05:17 +0000 |
---|---|---|
committer | Charles Lohr <lohr85@gmail.com> | 2018-03-22 00:05:17 +0000 |
commit | 96d6cb357f7dbe59fdfeba73808d78fc0c0ea435 (patch) | |
tree | 39c9965dd2a4d1ee330d7dac530374d9437641a1 /redist/CNFGXDriver.c | |
parent | d2468fcc0bd63e163a7a0564fa37b7880e2209df (diff) | |
download | libsurvive-96d6cb357f7dbe59fdfeba73808d78fc0c0ea435.tar.gz libsurvive-96d6cb357f7dbe59fdfeba73808d78fc0c0ea435.tar.bz2 |
Update rawdraw
Diffstat (limited to 'redist/CNFGXDriver.c')
-rw-r--r-- | redist/CNFGXDriver.c | 3 |
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() |