Browse Source

change comment

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

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

@@ -141,8 +141,11 @@ private:
 protected:
 protected:
   int _xsize;
   int _xsize;
   int _ysize;
   int _ysize;
-  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
+
+  // pixelbuffer "origin" represents upper left screen point at which
+  // pixelbuffer should be drawn using draw_pixel_buffer
+  int _xorg; 
+  int _yorg; 
   int _border;
   int _border;
   int _components;
   int _components;
   int _component_width;
   int _component_width;