forked from bartvdbraak/blender
Replaced powf to (float)pow in zblur.c. Was giving problems with MSVC (the rest of the code base uses pow too).
MSVC 6.0 Projectfile changes for zblur and new files in ketsji. Also adding BL_src projectfile to the commit, apparently it's not up to date with transform_conversions.c but I have it ok here and don't get any diffs.
This commit is contained in:
parent
7fa7826da7
commit
7a4ae00da2
@ -159,6 +159,10 @@ SOURCE=..\..\..\source\blender\render\intern\source\vanillaRenderPipe.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\blender\render\intern\source\zblur.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\blender\render\intern\source\zbuf.c
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -339,6 +339,10 @@ SOURCE=..\..\..\source\gameengine\Ketsji\KX_Scene.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\gameengine\Ketsji\KX_SG_BoneParentNodeRelationship.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\gameengine\Ketsji\KX_SG_NodeRelationships.cpp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
@ -591,6 +595,10 @@ SOURCE=..\..\..\source\gameengine\Ketsji\KX_Scene.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\gameengine\Ketsji\KX_SG_BoneParentNodeRelationship.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\..\..\source\gameengine\Ketsji\KX_SG_NodeRelationships.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -267,7 +267,7 @@ static void imgf_gamma(Image *src, float gamma)
|
||||
i = 4 * src->x * src->y;
|
||||
to= (float *) src->data;
|
||||
while(i--) {
|
||||
*to = powf(*to, gamma);
|
||||
*to = (float)pow(*to, gamma);
|
||||
to++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user