diff --git a/src/core.h b/src/core.h index fcdcea1..7e103b8 100644 --- a/src/core.h +++ b/src/core.h @@ -949,7 +949,8 @@ namespace Core { void endFrame() { GAPI::endFrame(); - GAPI::setTarget(NULL, 0); + active.targetOp |= RT_STORE_COLOR; + GAPI::setTarget(NULL, RT_STORE_COLOR); validateRenderState(); Core::stats.stop(); }