[gtkglext] Fix type of argument passed to glXGetProcAddress()
- From: Mukund Sivaraman <muks src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtkglext] Fix type of argument passed to glXGetProcAddress()
- Date: Mon, 19 Oct 2009 19:40:12 +0000 (UTC)
commit b1145f0d39a8512f6bdef1bd71caa7d4b9eb1f27
Author: Mukund Sivaraman <muks banu com>
Date: Sun Sep 27 09:39:40 2009 +0530
Fix type of argument passed to glXGetProcAddress()
gdk/x11/gdkglquery-x11.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkglquery-x11.c b/gdk/x11/gdkglquery-x11.c
index 562ddf1..9f2e46c 100644
--- a/gdk/x11/gdkglquery-x11.c
+++ b/gdk/x11/gdkglquery-x11.c
@@ -288,7 +288,7 @@ gdk_gl_get_proc_address (const char *proc_name)
if (glx_get_proc_address != NULL)
{
- proc_address = glx_get_proc_address (proc_name);
+ proc_address = glx_get_proc_address ((unsigned char *) proc_name);
GDK_GL_NOTE (IMPL, g_message (" ** glXGetProcAddress () - %s",
proc_address ? "succeeded" : "failed"));
if (proc_address != NULL)
@@ -405,7 +405,7 @@ gdk_gl_get_proc_address (const char *proc_name)
if (glx_get_proc_address != NULL)
{
- proc_address = glx_get_proc_address (proc_name);
+ proc_address = glx_get_proc_address ((unsigned char *) proc_name);
GDK_GL_NOTE (IMPL, g_message (" ** glXGetProcAddress () - %s",
proc_address ? "succeeded" : "failed"));
if (proc_address != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]