Hi been messing with SDl again :p
Posted: Wed Oct 27, 2004 8:41 pm
having probs with screen\pixels and screen\pitch returning wrong values, anyone else had a similar problem or know possible reason why?
I know this cuz i wrote the same progrm in c and pb and on printing out the pitch and pixels values they are different for a 800x600x16bit screen
in c i get
pixel=19529760
pitch=1600
in pb i get
pixel=2097152
pitch=1200
could really do with a hand with this or an example on plottting a pixel using SDL in PB :p
I know this cuz i wrote the same progrm in c and pb and on printing out the pitch and pixels values they are different for a 800x600x16bit screen
in c i get
pixel=19529760
pitch=1600
in pb i get
pixel=2097152
pitch=1200
could really do with a hand with this or an example on plottting a pixel using SDL in PB :p