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