title: Can't get CreateDDSTextureFromFile to work
body: <p>So, I've been trying to figure out my problem for a few hours now, but I have no idea what I'm doing wrong. I'm a noob when it comes to DirectX programming, so I've been following some tutorials, and right now, I'm trying to create a obj loader.
  <a href="http://www.braynzarsoft.net/index.php?p=D3D11OBJMODEL" rel="nofollow">http://www.braynzarsoft.net/index.php?p=D3D11OBJMODEL</a></p>
  
  <p>However, I can't get my texture to work.</p>
  
  <p>This is how I try to load the DDS-texture:</p>
  
  <pre><code>ID3D11ShaderResourceView* tempMeshSRV = nullptr;
  hr = CreateDDSTextureFromFile(gDevice, L"boxTexture.dds", NULL, &amp;tempMeshSRV);
  
  if (SUCCEEDED(hr))
   {
   textureNameArray.push_back(L"boxTexture.dds");
   material[matCount - 1].texArrayIndex = meshSRV.size();
   meshSRV.push_back(tempMeshSRV);
   material[matCount - 1].hasTexture = true;
   }
  </code></pre>
  
  <p>However, my HRESULT will never Succeed, but it doesn't crash either. If I hoover over the hr, it just says "HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED) I also tried to remove the if statement, but that will just turn my box black.
  Any idea on what I'm doing wrong? =/</p>
  
  <p>Thanks in advance!</p>