dmuratshin 9 years ago
parent
commit
96b92270e6

+ 1 - 1
oxygine/src/EventDispatcher.h

@@ -51,7 +51,7 @@ namespace oxygine
         virtual void dispatchEvent(Event* event);
         virtual void dispatchEvent(Event* event);
 
 
         int getListenersCount() const;
         int getListenersCount() const;
-		int getLastListenerID() const { return _lastID; }
+        int getLastListenerID() const { return _lastID; }
 
 
 
 
     protected:
     protected:

+ 1 - 1
oxygine/src/PostProcess.cpp

@@ -21,7 +21,7 @@ namespace oxygine
         if (_ppBuilt)
         if (_ppBuilt)
             return;
             return;
         _ppBuilt = true;
         _ppBuilt = true;
-        
+
 
 
         file::Zips zp;
         file::Zips zp;
         zp.add(system_data, system_size);
         zp.add(system_data, system_size);

+ 9 - 9
oxygine/src/core/gl/ShaderProgramGL.cpp

@@ -57,9 +57,9 @@ namespace oxygine
 
 
         return status == GL_TRUE;
         return status == GL_TRUE;
     }
     }
-    
-    
-    bool ShaderProgramGL::getProgramBuildLog(GLuint program, std::string &str)
+
+
+    bool ShaderProgramGL::getProgramBuildLog(GLuint program, std::string& str)
     {
     {
         GLint length = 0;
         GLint length = 0;
         GLint success = GL_TRUE;
         GLint success = GL_TRUE;
@@ -71,10 +71,10 @@ namespace oxygine
         }
         }
         else
         else
             str.clear();
             str.clear();
-        
+
         GLint status = GL_TRUE;
         GLint status = GL_TRUE;
         oxglGetProgramiv(program, GL_LINK_STATUS, &status);
         oxglGetProgramiv(program, GL_LINK_STATUS, &status);
-        
+
         return status == GL_TRUE;
         return status == GL_TRUE;
 
 
     }
     }
@@ -145,7 +145,7 @@ namespace oxygine
         {
         {
             handleErrorPolicy(ep, "can't compile shader: %s", log.c_str());
             handleErrorPolicy(ep, "can't compile shader: %s", log.c_str());
         }
         }
-        
+
         checkGLError();
         checkGLError();
 
 
         return shader;
         return shader;
@@ -162,11 +162,11 @@ namespace oxygine
             oxglBindAttribLocation(p, decl->elements[i].index, decl->elements[i].name);
             oxglBindAttribLocation(p, decl->elements[i].index, decl->elements[i].name);
 
 
         oxglLinkProgram(p);
         oxglLinkProgram(p);
-        
-        
+
+
         std::string log;
         std::string log;
         bool success = getProgramBuildLog(p, log);
         bool success = getProgramBuildLog(p, log);
-        
+
         if (success)
         if (success)
         {
         {
             //log::messageln("compiled shader: %s", log.c_str());
             //log::messageln("compiled shader: %s", log.c_str());

+ 1 - 1
oxygine/src/core/gl/ShaderProgramGL.h

@@ -18,7 +18,7 @@ namespace oxygine
                                          const char* prepend = "", const char* append = "", error_policy ep = ep_show_error);
                                          const char* prepend = "", const char* append = "", error_policy ep = ep_show_error);
         static unsigned int createProgram(int vs, int fs, const VertexDeclarationGL* decl);
         static unsigned int createProgram(int vs, int fs, const VertexDeclarationGL* decl);
         static bool getShaderBuildLog(GLuint shader, std::string& str);
         static bool getShaderBuildLog(GLuint shader, std::string& str);
-        static bool getProgramBuildLog(GLuint program, std::string &str);
+        static bool getProgramBuildLog(GLuint program, std::string& str);
 
 
     private:
     private:
         GLuint _program;
         GLuint _program;