Implement colormask

This commit is contained in:
Henrik Rydgård committed 2016-12-27 11:59:11 +01:00
1 parent 2952588a54
commit cbf4e5f38c
7 files changed
+50 -59

No files matched your search

+1 -1
View File
@@ -592,7 +592,7 @@ void NativeInitGraphics(GraphicsContext *graphicsContext) {
uiContext->theme = &ui_theme;
Draw::InputLayout *inputLayout = ui_draw2d.CreateInputLayout(thin3d);
Draw::BlendState *blendNormal = thin3d->CreateBlendState({ true, BlendFactor::SRC_ALPHA, BlendFactor::ONE_MINUS_SRC_ALPHA });
Draw::BlendState *blendNormal = thin3d->CreateBlendState({ true, 0xF, BlendFactor::SRC_ALPHA, BlendFactor::ONE_MINUS_SRC_ALPHA });
Draw::DepthStencilState *depth = thin3d->CreateDepthStencilState({ false, false, Comparison::LESS });
Draw::RasterState *rasterNoCull = thin3d->CreateRasterState({});