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