Hongtae Kim 6 gadus atpakaļ
vecāks
revīzija
4ad2caaaf9
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      TestApp1/TestApp1.cpp

+ 1
- 0
TestApp1/TestApp1.cpp Parādīt failu

@@ -37,6 +37,7 @@ public:
37 37
 		pipelineDescriptor.fragmentFunction = fragShaderFunction;
38 38
 		pipelineDescriptor.colorAttachments.Resize(1);
39 39
 		pipelineDescriptor.colorAttachments.Value(0).pixelFormat = swapChain->ColorPixelFormat();
40
+		pipelineDescriptor.rasterizationEnabled = true;
40 41
 
41 42
 
42 43
 		DKObject<DKRenderPipelineState> pipelineState = device->CreateRenderPipeline(pipelineDescriptor, NULL);