瀏覽代碼

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