Browse Source

no message

Hongtae Kim 6 years ago
parent
commit
37b4c5ef78

+ 1
- 1
Samples/Triangle/Triangle.cpp View File

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

+ 4
- 0
Samples/Triangle/Triangle.xcodeproj/project.pbxproj View File

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