Beispiel #1
0
/**
 * @class ds::gl::ClipPlaneState
 */
void ClipPlaneState::push(ds::ui::Sprite &s) {
	try {
		if (!s.getClipping()) {
			mEnabled.push_back(false);
		} else {
			mEnabled.push_back(true);
			enableClipping(s);
		}
	} catch (std::exception const&) {
		DS_ASSERT_MSG(false, "ClipPlaneState push() error");
	}
}