Browse Source

fix : fixed path for old ones

Heedong Lee 3 years ago
parent
commit
28e59e32d0
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Samples/Mesh/Mesh.cpp

+ 2
- 2
Samples/Mesh/Mesh.cpp View File

140
 	{
140
 	{
141
 
141
 
142
 		DKLog("Loading Mesh");
142
 		DKLog("Loading Mesh");
143
-        DKString path = resourcePool.ResourceFilePath("meshes/chalet/chalet.obj");
143
+        DKString path = resourcePool.ResourceFilePath("meshes/car/car.obj");
144
 		SampleMesh->LoadFromObjFile(DKStringU8(path));
144
 		SampleMesh->LoadFromObjFile(DKStringU8(path));
145
 	}
145
 	}
146
 
146
 
202
         DKObject<DKCommandQueue> queue = device->CreateCommandQueue(DKCommandQueue::Graphics);
202
         DKObject<DKCommandQueue> queue = device->CreateCommandQueue(DKCommandQueue::Graphics);
203
 
203
 
204
 		// create texture
204
 		// create texture
205
-		DKObject<DKTexture> texture = LoadTexture2D(queue, resourcePool.LoadResourceData("meshes/chalet.png"));
205
+		DKObject<DKTexture> texture = LoadTexture2D(queue, resourcePool.LoadResourceData("meshes/chalet/chalet.png"));
206
 		// create sampler
206
 		// create sampler
207
 		DKSamplerDescriptor samplerDesc = {};
207
 		DKSamplerDescriptor samplerDesc = {};
208
 		samplerDesc.magFilter = DKSamplerDescriptor::MinMagFilterLinear;
208
 		samplerDesc.magFilter = DKSamplerDescriptor::MinMagFilterLinear;