diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-06-26 15:51:17 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-06-26 15:51:17 +0000 |
commit | 9f0fb6f24b8da085cfbc8612067ac0370b71ebc4 (patch) | |
tree | 44b96978174a03fed3da95d561c3a64f3f89cfbe /libdimensionxx/canvas.cpp | |
parent | 3ee98f3bac24fd1c70a9de3e0fbe774e762c25b3 (diff) | |
download | dimension-9f0fb6f24b8da085cfbc8612067ac0370b71ebc4.tar.xz |
Remove thread-synchronicity from canvases.
Diffstat (limited to 'libdimensionxx/canvas.cpp')
-rw-r--r-- | libdimensionxx/canvas.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/canvas.cpp b/libdimensionxx/canvas.cpp index 411d4e8..35ff2fb 100644 --- a/libdimensionxx/canvas.cpp +++ b/libdimensionxx/canvas.cpp @@ -46,14 +46,14 @@ namespace Dimension return m_canvas->y; } - // Get a particular pixel, thread-safely, with dmnsn_get_pixel(). + // Get a particular pixel Color Canvas::pixel(unsigned int x, unsigned int y) const { return Color(dmnsn_get_pixel(m_canvas, x, y)); } - // Set a particular pixel, thread-safely, with dmnsn_set_pixel(). + // Set a particular pixel void Canvas::pixel(unsigned int x, unsigned int y, const Color& c) { |