Allow server to be started without any input devices.

This commit is contained in:
David Reveman 2008-07-21 11:56:13 -04:00
parent 442a1cce7a
commit c596e2a03e
2 changed files with 0 additions and 5 deletions

View file

@ -802,8 +802,6 @@ void InitOutput(ScreenInfo *pScreenInfo, int argc, char *argv[])
dmxConfigConfigure();
if (!dmxNumScreens)
dmxLog(dmxFatal, "InitOutput: no back-end displays found\n");
if (!dmxNumInputs)
dmxLog(dmxInfo, "InitOutput: no inputs found\n");
/* Disable lazy window creation optimization if offscreen
* optimization is disabled */

View file

@ -66,9 +66,6 @@ void InitInput(int argc, char **argv)
int i;
DMXInputInfo *dmxInput;
if (!dmxNumInputs)
dmxLog(dmxFatal, "InitInput: no inputs specified\n");
for (i = 0, dmxInput = &dmxInputs[0]; i < dmxNumInputs; i++, dmxInput++)
dmxInputInit(dmxInput);