mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Removed unneeded weird routine
This commit is contained in:
parent
3f5a8dbd69
commit
d63920086a
@ -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
|
// Function: FrameBufferProperties::is_basic
|
||||||
// Access: Published
|
// Access: Published
|
||||||
|
@ -119,7 +119,6 @@ PUBLISHED:
|
|||||||
bool is_any_specified() const;
|
bool is_any_specified() const;
|
||||||
bool is_basic() const;
|
bool is_basic() const;
|
||||||
int get_buffer_mask() const;
|
int get_buffer_mask() const;
|
||||||
int get_property_set() const;
|
|
||||||
bool verify_hardware_software(const FrameBufferProperties &props, const string &renderer) const;
|
bool verify_hardware_software(const FrameBufferProperties &props, const string &renderer) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user