Browse Source

add comment

georges 25 years ago
parent
commit
7e6b8ee643
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/gobj/pixelBuffer.h

+ 2 - 2
panda/src/gobj/pixelBuffer.h

@@ -141,8 +141,8 @@ private:
 protected:
   int _xsize;
   int _ysize;
-  int _xorg;
-  int _yorg;
+  int _xorg;  // origin is not a well defined concept for PixelBuffer.  It's zero by default &
+  int _yorg;  // not used by any internal code other than constructors, should probably be deleted from API
   int _border;
   int _components;
   int _component_width;