Browse Source

Removed unneeded weird routine

Josh Yelon 19 years ago
parent
commit
d63920086a

+ 0 - 16
panda/src/display/frameBufferProperties.cxx

@@ -338,22 +338,6 @@ set_all_specified() {
   }
 }
 
-////////////////////////////////////////////////////////////////////
-//     Function: FrameBufferProperties::get_property_set
-//       Access: Published
-//  Description: returns a summary of which properties are nonzero.
-////////////////////////////////////////////////////////////////////
-int FrameBufferProperties::
-get_property_set() const {
-  int result = 0;
-  for (int i=0; i<FBP_COUNT; i++) {
-    if (_property[i]) {
-      result |= (1<<i);
-    }
-  }
-  return result;
-}
-
 ////////////////////////////////////////////////////////////////////
 //     Function: FrameBufferProperties::is_basic
 //       Access: Published

+ 0 - 1
panda/src/display/frameBufferProperties.h

@@ -119,7 +119,6 @@ PUBLISHED:
   bool is_any_specified() const;
   bool is_basic() const;
   int get_buffer_mask() const;
-  int get_property_set() const;
   bool verify_hardware_software(const FrameBufferProperties &props, const string &renderer) const;
 };