Talk:Adding Motion Blur

From Valve Developer Community
Revision as of 20:40, 12 August 2005 by Garry Newman (talk | contribs)

Jump to: navigation, search

not working... e:\Games\ROD\src\cl_dll\rendertexture.cpp(16) : error C2146: syntax error : missing ';' before identifier 's_pMoBlurTex0' e:\Games\ROD\src\cl_dll\rendertexture.cpp(16) : error C2501: 's_pMoBlurTex0' : missing storage-class or type specifiers e:\Games\ROD\src\cl_dll\rendertexture.cpp(22) : error C2228: left of '.InitRenderTarget' must have class/struct/union type

       type is 'int'

e:\Games\ROD\src\cl_dll\rendertexture.cpp(23) : error C2664: 'IsErrorTexture' : cannot convert parameter 1 from 'int' to 'ITexture *'

       Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

e:\Games\ROD\src\cl_dll\rendertexture.cpp(26) : error C2440: 'return' : cannot convert from 'int' to 'ITexture *'

       Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast

You need to include a header.. search for CTextureReference to see where it's defined.