summaryrefslogtreecommitdiffstats
path: root/libdimensionxx
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-26 15:51:17 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-26 15:51:17 +0000
commit9f0fb6f24b8da085cfbc8612067ac0370b71ebc4 (patch)
tree44b96978174a03fed3da95d561c3a64f3f89cfbe /libdimensionxx
parent3ee98f3bac24fd1c70a9de3e0fbe774e762c25b3 (diff)
downloaddimension-9f0fb6f24b8da085cfbc8612067ac0370b71ebc4.tar.xz
Remove thread-synchronicity from canvases.
Diffstat (limited to 'libdimensionxx')
-rw-r--r--libdimensionxx/canvas.cpp4
-rw-r--r--libdimensionxx/dimensionxx/canvas.hpp2
2 files changed, 3 insertions, 3 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)
{
diff --git a/libdimensionxx/dimensionxx/canvas.hpp b/libdimensionxx/dimensionxx/canvas.hpp
index f9e77e5..84787ed 100644
--- a/libdimensionxx/dimensionxx/canvas.hpp
+++ b/libdimensionxx/dimensionxx/canvas.hpp
@@ -42,7 +42,7 @@ namespace Dimension
unsigned int width() const;
unsigned int height() const;
- // Get and set a pixel, thread-safely.
+ // Get and set a pixel
Color pixel(unsigned int x, unsigned int y) const;
void pixel(unsigned int x, unsigned int y, const Color& c);