Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 31, 2015, 11:06:37 AM (9 years ago)
Author:
landauf
Message:

fixed warnings with MSVC14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/tools/Shader.h

    r9550 r10727  
    8989            virtual void cameraChanged(Ogre::Viewport* viewport, Ogre::Camera* oldCamera);
    9090
    91             void setParameter(size_t technique, size_t pass, const std::string& parameter, float value);
    92             void setParameter(size_t technique, size_t pass, const std::string& parameter, int value);
     91            void setParameter(unsigned short technique, unsigned short pass, const std::string& parameter, float value);
     92            void setParameter(unsigned short technique, unsigned short pass, const std::string& parameter, int value);
    9393
    9494            virtual void notifyMaterialRender(Ogre::uint32 pass_id, Ogre::MaterialPtr& materialPtr);
     
    110110            struct ParameterContainer
    111111            {
    112                 size_t technique_;          ///< The ID of the technique
    113                 size_t pass_;               ///< The ID of the pass
     112                unsigned short technique_;  ///< The ID of the technique
     113                unsigned short pass_;       ///< The ID of the pass
    114114                std::string parameter_;     ///< The name of the parameter
    115115
Note: See TracChangeset for help on using the changeset viewer.