Changeset 336

Show
Ignore:
Timestamp:
10/21/06 12:18:38 (2 years ago)
Author:
allenb
Message:

Make the warning about not finding a uniform parameter by name a little more clear. I debated about making it even more verbose and saying "You
either are not using this parameter in the shader or the names don't match."

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/State/SHL/OSGSHLChunk.cpp

    r283 r336  
    738738                else 
    739739                { 
    740                     FWARNING(("Unknown parameter '%s'!\n", 
     740                    FWARNING(("Parameter '%s' not found in active uniform variables of the shader!\n", 
    741741                              p->getName().c_str())); 
    742742                } 
     
    761761                else 
    762762                { 
    763                     FWARNING(("Unknown parameter '%s'!\n", 
     763                    FWARNING(("Parameter '%s' not found in active uniform variables of the shader!\n", 
    764764                              p->getName().c_str())); 
    765765                } 
     
    784784                else 
    785785                { 
    786                     FWARNING(("Unknown parameter '%s'!\n", 
     786                    FWARNING(("Parameter '%s' not found in active uniform variables of the shader!\n", 
    787787                              p->getName().c_str())); 
    788788                } 
     
    810810                else 
    811811                { 
    812                     FWARNING(("Unknown parameter '%s'!\n", 
     812                    FWARNING(("Parameter '%s' not found in active uniform variables of the shader!\n", 
    813813                              p->getName().c_str())); 
    814814                } 
     
    836836                else 
    837837                { 
    838                     FWARNING(("Unknown parameter '%s'!\n", 
     838                    FWARNING(("Parameter '%s' not found in active uniform variables of the shader!\n", 
    839839                              p->getName().c_str())); 
    840840                } 
     
    862862                else 
    863863                { 
    864                     FWARNING(("Unknown parameter '%s'!\n", 
     864                    FWARNING(("Parameter '%s' not found in active uniform variables of the shader!\n", 
    865865                              p->getName().c_str())); 
    866866                } 
     
    889889                else 
    890890                { 
    891                     FWARNING(("Unknown parameter '%s'!\n", 
     891                    FWARNING(("Parameter '%s' not found in active uniform variables of the shader!\n", 
    892892                              p->getName().c_str())); 
    893893                }