Make sure to disable stencil in UIContext::Begin. Add logic ops to thin3d for completeness.

This commit is contained in:
Henrik Rydgard committed 2015-01-04 17:57:52 +01:00
1 parent fe94cb6146
commit 6ee1c8e9ee
4 files changed
+51 -1

No files matched your search

+1
View File
@@ -41,6 +41,7 @@ void UIContext::Begin() {
thin3d_->SetDepthStencilState(depth_);
thin3d_->SetRenderState(T3DRenderState::CULL_MODE, T3DCullMode::NO_CULL);
thin3d_->SetTexture(0, uitexture_);
thin3d_->SetScissorEnabled(false);
UIBegin(uishader_);
}