Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/gameengine/VideoTexture/FilterSource.h')
-rw-r--r--source/gameengine/VideoTexture/FilterSource.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/gameengine/VideoTexture/FilterSource.h b/source/gameengine/VideoTexture/FilterSource.h
index 820576dfff9..8957ed8b4b3 100644
--- a/source/gameengine/VideoTexture/FilterSource.h
+++ b/source/gameengine/VideoTexture/FilterSource.h
@@ -70,13 +70,13 @@ protected:
/// filter pixel, source byte buffer
virtual unsigned int filter (unsigned char *src, short x, short y,
short * size, unsigned int pixSize, unsigned int val)
- {
- if ((intptr_t(src)&0x3) == 0)
+ {
+ if ((intptr_t(src)&0x3) == 0)
return *(unsigned int*)src;
- else
+ else
{
- VT_RGBA(val,src[0],src[1],src[2],src[3]);
- return val;
+ VT_RGBA(val,src[0],src[1],src[2],src[3]);
+ return val;
}
}
};