Hongtae Kim 6 yıl önce
ebeveyn
işleme
37b4c5ef78

+ 1
- 1
Samples/Triangle/Triangle.cpp Dosyayı Görüntüle

@@ -147,7 +147,7 @@ public:
147 147
 				encoder->SetIndexBuffer(indexBuffer, 0, DKIndexType::UInt32);
148 148
                 encoder->SetResources(0, bindSet);
149 149
 				// draw scene!
150
-				encoder->DrawIndexed(indexData.Count(), 1, 0, 0, 1);
150
+				encoder->DrawIndexed(indexData.Count(), 1, 0, 0, 0);
151 151
 				encoder->EndEncoding();
152 152
 				buffer->Commit();
153 153
 				swapChain->Present();

+ 4
- 0
Samples/Triangle/Triangle.xcodeproj/project.pbxproj Dosyayı Görüntüle

@@ -510,7 +510,9 @@
510 510
 			buildSettings = {
511 511
 				ARCHS = "$(ARCHS_STANDARD)";
512 512
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
513
+				CODE_SIGN_IDENTITY = "iPhone Developer";
513 514
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
515
+				CODE_SIGN_STYLE = Automatic;
514 516
 				DEVELOPMENT_TEAM = F599L375TZ;
515 517
 				INFOPLIST_FILE = "$(SRCROOT)/../Common/iOS/Info.plist";
516 518
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
@@ -527,7 +529,9 @@
527 529
 			buildSettings = {
528 530
 				ARCHS = "$(ARCHS_STANDARD)";
529 531
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
532
+				CODE_SIGN_IDENTITY = "iPhone Developer";
530 533
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
534
+				CODE_SIGN_STYLE = Automatic;
531 535
 				DEVELOPMENT_TEAM = F599L375TZ;
532 536
 				INFOPLIST_FILE = "$(SRCROOT)/../Common/iOS/Info.plist";
533 537
 				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";