devilhorns pushed a commit to branch master.

commit 5f5ab9d9c6837949b824b17ff676c21bc3860466
Author: Chris Michael <[email protected]>
Date:   Fri May 24 21:32:58 2013 +0100

    minor formatting fixes.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/evas/engines/gl_common/evas_gl_core.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/modules/evas/engines/gl_common/evas_gl_core.c 
b/src/modules/evas/engines/gl_common/evas_gl_core.c
index 41ab26d..bea210a 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_core.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_core.c
@@ -1288,12 +1288,11 @@ evgl_engine_init(void *eng_data, EVGL_Interface *efunc)
    int direct_mem_opt = 0, direct_off = 0, debug_mode = 0;
    char *s = NULL;
 
-
    if (evgl_engine) return evgl_engine;
 
    // Initialize Log Domain
    if (_evas_gl_log_dom < 0)
-      _evas_gl_log_dom = eina_log_domain_register("EvasGL", 
EVAS_DEFAULT_LOG_COLOR);
+     _evas_gl_log_dom = eina_log_domain_register("EvasGL", 
EVAS_DEFAULT_LOG_COLOR);
    if (_evas_gl_log_dom < 0)
      {
         EINA_LOG_ERR("Can not create a module log domain.");
@@ -1322,7 +1321,7 @@ evgl_engine_init(void *eng_data, EVGL_Interface *efunc)
      }
 
    // Assign functions
-   evgl_engine->funcs       = efunc;
+   evgl_engine->funcs = efunc;
 
    // Initialize Resource TLS
    if (eina_tls_new(&evgl_engine->resource_key) == EINA_FALSE)
@@ -1334,9 +1333,9 @@ evgl_engine_init(void *eng_data, EVGL_Interface *efunc)
 
    // Initialize Extensions
    if (efunc->proc_address_get && efunc->ext_string_get)
-      evgl_api_ext_init(efunc->proc_address_get, 
efunc->ext_string_get(eng_data));
+     evgl_api_ext_init(efunc->proc_address_get, 
efunc->ext_string_get(eng_data));
    else
-      ERR("Proc address get function not available.  Extension not 
initialized.");
+     ERR("Proc address get function not available.  Extension not 
initialized.");
 
    DBG("GLUE Extension String: %s", efunc->ext_string_get(eng_data));
    DBG("GL Extension String: %s", glGetString(GL_EXTENSIONS));
@@ -1353,19 +1352,19 @@ evgl_engine_init(void *eng_data, EVGL_Interface *efunc)
    s = getenv("EVAS_GL_DIRECT_MEM_OPT");
    if (s) direct_mem_opt = atoi(s);
    if (direct_mem_opt == 1)
-      evgl_engine->direct_mem_opt = 1;
+     evgl_engine->direct_mem_opt = 1;
 
    // Check if Direct Rendering Override Force Off flag is on
    s = getenv("EVAS_GL_DIRECT_OVERRIDE_FORCE_OFF");
    if (s) direct_off = atoi(s);
    if (direct_off == 1)
-      evgl_engine->direct_force_off = 1;
+     evgl_engine->direct_force_off = 1;
 
    // Check if API Debug mode is on
    s = getenv("EVAS_GL_API_DEBUG");
    if (s) debug_mode = atoi(s);
    if (debug_mode == 1)
-      evgl_engine->api_debug_mode = 1;
+     evgl_engine->api_debug_mode = 1;
 
    // Maint Thread ID (get tid not available in eina thread yet)
    evgl_engine->main_tid = 0;
@@ -1386,7 +1385,8 @@ error:
 // Terminate engine and all the resources
 //    - destroy all internal resources
 //    - free allocated engine struct
-void evgl_engine_shutdown(void *eng_data)
+void 
+evgl_engine_shutdown(void *eng_data)
 {
    // Check if engine is valid
    if (!evgl_engine)

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to