mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 10:40:01 +01:00
Add DepthStencilStateDesc
This commit is contained in:
1 parent
f86b9f7900
commit
c7c541f926
7 files changed
+80
-73
No files matched your search
@@ -27,8 +27,8 @@ void UIContext::Init(Draw::DrawContext *thin3d, Draw::ShaderSet *uishader, Draw:
|
||||
using namespace Draw;
|
||||
thin3d_ = thin3d;
|
||||
blendNormal_ = thin3d_->CreateBlendState({ true, BlendFactor::SRC_ALPHA, BlendFactor::ONE_MINUS_SRC_ALPHA });
|
||||
sampler_ = thin3d_->CreateSamplerState({ TextureFilter::LINEAR, TextureFilter::LINEAR,TextureFilter::LINEAR });
|
||||
depth_ = thin3d_->CreateDepthStencilState(false, false, Comparison::LESS);
|
||||
sampler_ = thin3d_->CreateSamplerState({ TextureFilter::LINEAR, TextureFilter::LINEAR, TextureFilter::LINEAR });
|
||||
depth_ = thin3d_->CreateDepthStencilState({ false, false, Comparison::LESS });
|
||||
T3DRasterStateDesc desc;
|
||||
desc.cull = CullMode::NONE;
|
||||
desc.facing = Facing::CCW;
|
||||
|
||||
Reference in new issue
Block a user