Thursday, July 24, 2014

Released v0.2a

Just released the second version of the library. I've done some small modifications which greatly improve performance.

The main change was to replace the function which draws "virtual pixels", which were implemented by individually (and slowly) drawing adjacent pixels to form a rectangle. Only recently I found out that SDL provides a function named FillRect which does what I initially intended, but much faster. Another minor change was the removal of the "pixelize" feature, simply because it relied on the "virtual pixels" being drawn pixel by pixel, and since this was changed to drawing full rectangles it wouldn't work anymore. Also, it wasn't an essential feature, so I doubt it will be missed.

No comments:

Post a Comment