Neo7k 10 лет назад
Родитель
Сommit
e82e0f8772
3 измененных файлов с 5 добавлено и 5 удалено
  1. 2 2
      oxygine/src/Actor.cpp
  2. 1 1
      oxygine/src/core/VideoDriver.h
  3. 2 2
      oxygine/src/core/gl/VideoDriverGL.cpp

+ 2 - 2
oxygine/src/Actor.cpp

@@ -1329,7 +1329,7 @@ namespace oxygine
 
     Vector2 convert_local2stage(const Actor* actor, const Vector2& pos, const Actor* root)
     {
-        if( !root )
+        if(!root)
             root = getStage().get();
         return convert_local2global_(actor, root, pos);
     }
@@ -1343,7 +1343,7 @@ namespace oxygine
 
     Vector2 convert_stage2local(const Actor* actor, const Vector2& pos, const Actor* root )
     {
-        if( !root )
+        if(!root)
             root = getStage().get();
         return convert_global2local_(actor, root, pos);
     }

+ 1 - 1
oxygine/src/core/VideoDriver.h

@@ -48,7 +48,7 @@ namespace oxygine
             BT_DST_ALPHA,
             BT_DST_COLOR,
             BT_ONE_MINUS_DST_ALPHA,
-			BT_ONE_MINUS_DST_COLOR,
+            BT_ONE_MINUS_DST_COLOR,
         };
 
         enum STATE

+ 2 - 2
oxygine/src/core/gl/VideoDriverGL.cpp

@@ -63,8 +63,8 @@ namespace oxygine
                 return GL_DST_ALPHA;
             case BT_ONE_MINUS_DST_ALPHA:
                 return GL_ONE_MINUS_DST_ALPHA;
-			case BT_ONE_MINUS_DST_COLOR:
-				return GL_ONE_MINUS_DST_COLOR;
+            case BT_ONE_MINUS_DST_COLOR:
+                return GL_ONE_MINUS_DST_COLOR;
         }
         OX_ASSERT(!"unknown blend");
         return GL_ONE;