[Tizen] Add codes for Dali Windows Backend
[platform/core/uifw/dali-core.git] / dali / internal / render / gl-resources / gl-call-debug.h
old mode 100644 (file)
new mode 100755 (executable)
index 402a759..dcd440e
@@ -2,7 +2,7 @@
 #define __DALI_INTERNAL_GL_CALL_DEBUG_H__
 
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -30,7 +30,6 @@ class GlAbstraction;
 
 namespace Internal
 {
-
 /**
  * Helper to check GL errors
  * @param glAbstraction to use for error check
@@ -53,8 +52,8 @@ extern Debug::Filter* gGlLogFilter;
 #endif // DEBUG_ENABLED
 
 // Don't put guards around here (LOG_INFO has it's own guards)
-#define LOG_GL(format, args...) \
-  DALI_LOG_INFO(gGlLogFilter, Debug::General, format, ## args)
+#define LOG_GL(format, ...) \
+  DALI_LOG_INFO(gGlLogFilter, Debug::General, format, ## __VA_ARGS__)
 
 }