Преглед на файлове

fix : fixed path for old ones

Heedong Lee преди 3 години
родител
ревизия
28e59e32d0
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2
    2
      Samples/Mesh/Mesh.cpp

+ 2
- 2
Samples/Mesh/Mesh.cpp Целия файл

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