]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_gecko.c
add DeviceLost and DeviceRestored functions to R_Modules system
[xonotic/darkplaces.git] / cl_gecko.c
index 3b4781d7da56d9446b5b1969f332e5dc90c88208..ec09b5c33199be82a021f44cce6ae0de7ab97fcf 100644 (file)
@@ -869,7 +869,7 @@ void CL_Gecko_Init( void )
        Cmd_AddCommand( "gecko_injecttext", cl_gecko_injecttext_f, "Injects text into a browser" );
        Cmd_AddCommand( "gecko_movecursor", gl_gecko_movecursor_f, "Move the cursor to a certain position" );
 
-       R_RegisterModule( "CL_Gecko", cl_gecko_start, cl_gecko_shutdown, cl_gecko_newmap );
+       R_RegisterModule( "CL_Gecko", cl_gecko_start, cl_gecko_shutdown, cl_gecko_newmap, NULL, NULL );
 }
 
 void CL_Gecko_NavigateToURI( clgecko_t *instance, const char *URI ) {