#8 sdlvideo module: surface_set_pixel bug

closed-fixed
Mazardo Luc
Video (2)
5
2002-11-05
2002-06-18
Mazardo Luc
No

There is a problem with the function surface_set_pixel:

# open Sdl;;

# open Sdlvideo;;

# init[`EVERYTHING];;

# let screen = set_video_mode 640 480 16 [`HWSURFACE];;

# let c = color_of_int(10,10,10);;

# surface_set_pixel screen 100 100 c;;

Fatal signal: Segmentation Fault (SDL Parachute Deployed)

Discussion

  • Logged In: YES
    user_id=123867

    fixed.

    surface_set_pixel wasn't using the proper calling convention
    for bytecode.

     
  • Mazardo Luc
    Mazardo Luc
    2002-11-05

    • status: open --> closed
     
  • Mazardo Luc
    Mazardo Luc
    2002-11-05

    • status: closed --> closed-fixed