The with and height are set automatically in a surface. Probably the
SDL internal functions, when working with the screen are trying to access a
pixel that is outside the actual area of the screen. That’s why you get the
segmentation fault only when you make manually the screen surface larger.
Remove both assigments of the width and height and try again.++++++++++++++++++++++++++++++++
ALBERT FERNANDEZ MARSAL
CIRSA INTERACTIVE CORP. SL
Analista senior y programador
++++++++++++++++++++++++++++++++
The with and height are set automatically in a surface. Probably the
SDL internal functions, when working with the screen are trying to access
a
pixel that is outside the actual area of the screen. That’s why you get
the>De: Albert FernA!ndez Marsal
A: "'A list for developers using the SDL library. (includes
Date: Mon, 10 Oct 2005 12:52:40 +0200
segmentation fault only when you make manually the screen surface larger.
Remove both assigments of the width and height and try again.
++++++++++++++++++++++++++++++++
ALBERT FERNANDEZ MARSAL
CIRSA INTERACTIVE CORP. SL
Analista senior y programador
++++++++++++++++++++++++++++++++