Commit 9be278d4 authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal
Browse files

gl: libs: glib might not define G_HAVE_ISO_VARARGS

This will fix the compiler warning
"G_HAVE_ISO_VARARGS" is not defined, evaluates to 0 [-Wundef]
parent d3f9daf0
Pipeline #9532 passed with stages
in 8 minutes and 29 seconds
......@@ -94,7 +94,7 @@ void gst_gl_async_debug_thaw (GstGLAsyncDebug
*
* Stores a debug message in @ad for later output
*/
#if G_HAVE_ISO_VARARGS
#ifdef G_HAVE_ISO_VARARGS
#define GST_GL_ASYNC_CAT_LEVEL_LOG(ad,cat,level,object,format,...) \
gst_gl_async_debug_store_log_msg (ad, cat, level, __FILE__, GST_FUNCTION, \
__LINE__, object, format, __VA_ARGS__)
......@@ -149,7 +149,7 @@ void gst_gl_async_debug_store_log_msg_valist (GstGLAsyncDebug * ad,
#define gst_gl_async_debug_output_log_msg(ad) G_STMT_START{ }G_STMT_END
#define gst_gl_async_debug_store_log_msg_valist(ad,cat,level,file,function,line,object,format,args) G_STMT_START{ }G_STMT_END
#if G_HAVE_ISO_VARARGS
#ifdef G_HAVE_ISO_VARARGS
#define gst_gl_insert_debug_marker(...) G_STMT_START{ }G_STMT_END
#define gst_gl_async_debug_store_log_msg(...) G_STMT_START{ }G_STMT_END
......
......@@ -96,7 +96,7 @@ guint64 gst_gl_query_result (GstGLQuery * query);
gst_gl_async_debug_thaw (&(query)->debug); \
} G_STMT_END
#if G_HAVE_ISO_VARARGS
#ifdef G_HAVE_ISO_VARARGS
#define gst_gl_query_start_log(query,cat,level,object,format,...) \
G_STMT_START { \
......
......@@ -831,7 +831,7 @@ gst_gl_context_clear_shader (GstGLContext * context)
g_return_if_fail (shader->priv->program_handle != 0); \
location = _get_uniform_location (shader, name);
#if G_HAVE_ISO_VARARGS
#ifdef G_HAVE_ISO_VARARGS
#define set_uniform_v(gl_suffix, c_type, debug_stride, debug_str, ...) \
void \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment