[Gambas-devel] Screenshot of a small test with sdl component

Laurent Carlier lordheavy at ...141...
Sun Nov 14 18:18:55 CET 2004


Here a small shot of this piece of code with sdl lib and gambas.

code :

Screen (640,480,32)
for x=0 to Screen.Width
  for y=0 to Screen.Height
    color = rgb(y/2, y/2, x/3)
    Plot (x, y, color)
  next
next
Screen.Refresh

I had to change the stack size for avoiding a Stack Overflow error ( stack set 
to 16777216 in file gbx_stack.c)

Regards,

-- 

Laurent Carlier
-------------- next part --------------
A non-text attachment was scrubbed...
Name: capture1.jpg
Type: image/jpeg
Size: 21180 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20041114/237ebede/attachment.jpg>


More information about the Devel mailing list