Macro limit and clamp and crash (missing dll)

  • Nobody/Anonymous

    I was using the 1.6.8 version and it worked fine but i'm trying the new 1.7.2 and there are 3 macros
        #define limit(x,m,M)    (x<m?m:(x>M?M:x))
        #define clamp(x)         limit(x,0,1)
        #define imemclear(x,y) memset(x,0,y);

    and of course i've got some "clamp" in my code. Maybe you can delete these macros or rename them (IL_CLAMP, ...)

    Thanks, Titi

    PS : as said in Devs section, i've got the dll problem with VC 2005 (0xC0150002) too

    • Denton Woods

      Denton Woods - 2008-09-10

      I will change the macros so that they're DevIL-specific.  Thanks for pointing that out.


Log in to post a comment.