Browse Source

no message

Hongtae Kim 6 years ago
parent
commit
81200d4e67
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      TestApp1/TestApp1.cpp

+ 2
- 2
TestApp1/TestApp1.cpp View File

@@ -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);