]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.c
Initial implementation of command flag system
[xonotic/darkplaces.git] / gl_backend.c
index 409425b36a425700297ab675912b0eec3f74ed2d..abc7f794ebf2d8610c1bbb5956b02939558d684a 100644 (file)
@@ -372,7 +372,7 @@ void gl_backend_init(void)
        Cvar_RegisterVariable(&gl_paranoid);
        Cvar_RegisterVariable(&gl_printcheckerror);
 
-       Cmd_AddCommand(&cmd_client, "gl_vbostats", GL_VBOStats_f, "prints a list of all buffer objects (vertex data and triangle elements) and total video memory used by them");
+       Cmd_AddCommand(CMD_CLIENT, "gl_vbostats", GL_VBOStats_f, "prints a list of all buffer objects (vertex data and triangle elements) and total video memory used by them");
 
        R_RegisterModule("GL_Backend", gl_backend_start, gl_backend_shutdown, gl_backend_newmap, gl_backend_devicelost, gl_backend_devicerestored);
 }