Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucbvax!lsr-vax.UUCP!lmo From: lmo@lsr-vax.UUCP ("Lance M. Optican - LMO") Newsgroups: comp.sys.sgi Subject: (none) Message-ID: <9011231739.AA01831@> Date: 23 Nov 90 17:39:04 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 30 Subject: GL Device Error Checking I have a dial and button box (DBB) on my 4D/140. When programs written with code for the DBB are run on other SGI machines without one, the DBB code generates lots of error messages to the screen. This slows the graphics program considerably! Would someone please tell me how to detect the presence/absence of a peripheral device like the DBB? I RTFM, but it seems that the obvious way, checking the return value of "void setvaluator()" is not possible! NOTE TO SGI: I could find no entry in the either system or graphics library manuals for GL errors. A much better behavior for missing peripherals would be a No-Op, rather than an error message. Most programs perform usefully without input from special peripherals, albeit with less flexibility! Thanks, Lance Optican ---------------------------------------------------+----------------------- Lance M. Optican | uunet!lsr-vax!lmo National Eye Institute, NIH, Bethesda, MD | (301) 496-3549 ---------------------------------------------------+-----------------------