Manual merge of #330.
This commit is contained in:
@@ -2888,10 +2888,7 @@ bool CommandProcessor::IssueCopy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO(benvanik): figure out real condition here (maybe when color cleared?)
|
// TODO(benvanik): figure out real condition here (maybe when color cleared?)
|
||||||
// HACK: things seem to need their depth buffer cleared a lot more
|
if (depth_clear_enabled && depth_target != kAnyTarget) {
|
||||||
// than as indicated by the depth_clear_enabled flag.
|
|
||||||
// if (depth_clear_enabled) {
|
|
||||||
if (depth_target != kAnyTarget) {
|
|
||||||
// Clear the current depth buffer.
|
// Clear the current depth buffer.
|
||||||
// TODO(benvanik): verify format.
|
// TODO(benvanik): verify format.
|
||||||
GLfloat depth = {(copy_depth_clear & 0xFFFFFF00) / float(0xFFFFFF00)};
|
GLfloat depth = {(copy_depth_clear & 0xFFFFFF00) / float(0xFFFFFF00)};
|
||||||
|
|||||||
Reference in New Issue
Block a user