[comp.sources.games.bugs] Xasteroids

hashem@mars.jpl.nasa.gov (Basil Hashem) (04/14/90)

Just got asteroids for X windows from expo.lcs.mit.edu (contrib 
directory).  Compiled fine for a SparcStation1, but fails when
executing with the following:

X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  65 (X_PolyLine)
Minor opcode of failed request:  0
Resource id in failed request:  0xc00001
Serial number of failed request:  19
Current serial number in output stream:  29

Turned off optimization, still fails with the same error.

Turned on debugging and in tracing through, the BadMatch occurs
when doing an XSync() call in printss().  This is when printss()
is called for the third time from somewhere near line 480.

Anyone have better luck with this?

                "WOOOSH!  If they only knew what I was up to."
                                 Basil Hashem                                   
                            hashem@mars.jpl.nasa.gov
            Jet Propulsion Laboratory     La Canada Flintridge, CA