views:

68

answers:

0

I'm starting to use DXUTgui in my project, but only the text of the controls are showing up.

I suppose it's because the DXUT isn't able to find the media files for the graphical elements. I wasn't able to find references for this in the DXUT sources. My guess is the contents of <DirectX SDK>\Samples\Media\UI are the required files. I've tried copying these to my project root, or to Media\UT in the project folder, but in vain.

The closes thing to an error message I get is

D3D10: INFO: ID3D10Device::Draw: The Pixel Shader unit expects a Shader Resource View at Slot 0, but none is bound. This is OK, as reads of an unbound Shader Resource View are defined to return 0. It is also possible the developer knows the data will not be used anyway. This is only a problem if the developer actually intended to bind a Shader Resource View here.  [ EXECUTION INFO #353: DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET ]

in the Visual Studio Output pane.

Where should I copy the media files to fix this? Or is it possible, that I'm missing some initialisation step?