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

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/drape
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-10-06 11:34:07 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2016-10-06 15:11:23 +0300
commit9d39fd37c7c188855d0a6e5e1f401b6607707507 (patch)
tree83edb83c7a143633e75669798790103b9d640e9d /drape
parent6dc03b1114362f2f06244422c88a1d159d827f5b (diff)
Review fixes
Diffstat (limited to 'drape')
-rw-r--r--drape/shaders/traffic_vertex_shader.vsh3
-rw-r--r--drape/static_texture.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/drape/shaders/traffic_vertex_shader.vsh b/drape/shaders/traffic_vertex_shader.vsh
index e1c735b39c..d66d811df9 100644
--- a/drape/shaders/traffic_vertex_shader.vsh
+++ b/drape/shaders/traffic_vertex_shader.vsh
@@ -22,7 +22,8 @@ void main(void)
if (halfWidth != 0.0)
{
vec2 norm = normal * u_trafficParams.x;
- if (a_normal.z < 0.0) norm = normal * u_trafficParams.y;
+ if (a_normal.z < 0.0)
+ norm = normal * u_trafficParams.y;
halfWidth = length(norm);
vec4 glbShiftPos = vec4(a_position.xy + norm, 0.0, 1.0);
diff --git a/drape/static_texture.cpp b/drape/static_texture.cpp
index 782cbf7649..36dd29f988 100644
--- a/drape/static_texture.cpp
+++ b/drape/static_texture.cpp
@@ -1,5 +1,4 @@
#include "drape/static_texture.hpp"
-#include "3party/stb_image/stb_image.h"
#include "indexer/map_style_reader.hpp"
@@ -10,6 +9,8 @@
#include "base/string_utils.hpp"
+#include "3party/stb_image/stb_image.h"
+
namespace dp
{