|
@@ -18,8 +18,8 @@ public:
|
18
|
18
|
{
|
19
|
19
|
DKObject<DKData> vertData = resourcePool.LoadResourceData("triangle.vert.spv");
|
20
|
20
|
DKObject<DKData> fragData = resourcePool.LoadResourceData("triangle.frag.spv");
|
21
|
|
- DKShader vertShader(vertData, DKShader::Vertex);
|
22
|
|
- DKShader fragShader(fragData, DKShader::Fragment);
|
|
21
|
+ DKShader vertShader(vertData);
|
|
22
|
+ DKShader fragShader(fragData);
|
23
|
23
|
|
24
|
24
|
DKObject<DKGraphicsDevice> device = DKGraphicsDevice::SharedInstance();
|
25
|
25
|
DKObject<DKShaderModule> vertShaderModule = device->CreateShaderModule(&vertShader);
|