Hi,
it returns a DWORD variable, an unsigned integer, 0 when it went right. I would check if it returns any other value first. Something like the following:
Code:
var texErrors = 0;
... 
void event () {
...
if(_fx->SetTexture(...))
   texErrors += 1;
...
}

main () {
   while(1) {
      DEBUG_VAR(texErrors, 10);
      texErrors = 0;
      ...



If there are errors, check for their meanings. Unfortunately the msdn documentation about the method return is brief. As first try I use to look for the header specified into the msdn documentation on internet but I got VS installed for this issues too.

Quote:

Is that what you mean?

Yes laugh