Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
25,730 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- examples/pixmap-mixed.c.orig 2003-09-14 02:23:33.000000000 -0700 | ||
+++ examples/pixmap-mixed.c 2010-07-26 22:28:55.000000000 -0700 | ||
@@ -154,7 +154,7 @@ | ||
gpointer data) | ||
{ | ||
gdk_draw_drawable (widget->window, | ||
- widget->style->fg_gc[GTK_WIDGET_STATE (widget)], | ||
+ widget->style->fg_gc[gtk_widget_get_state (widget)], | ||
pixmap, | ||
event->area.x, event->area.y, | ||
event->area.x, event->area.y, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- examples/pixmap.c.orig 2003-09-14 02:23:33.000000000 -0700 | ||
+++ examples/pixmap.c 2010-07-26 22:29:22.000000000 -0700 | ||
@@ -137,7 +137,7 @@ | ||
gpointer data) | ||
{ | ||
gdk_draw_drawable (widget->window, | ||
- widget->style->fg_gc[GTK_WIDGET_STATE (widget)], | ||
+ widget->style->fg_gc[gtk_widget_get_state (widget)], | ||
pixmap, | ||
event->area.x, event->area.y, | ||
event->area.x, event->area.y, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- gdk/gdkglglext.h.orig 2009-08-24 14:47:39.000000000 +0400 | ||
+++ gdk/gdkglglext.h 2009-08-24 14:48:31.000000000 +0400 | ||
@@ -30,7 +30,11 @@ | ||
#include <windows.h> | ||
#endif | ||
|
||
+#ifdef GDK_WINDOWING_QUARTZ | ||
+#include <OpenGL/gl.h> | ||
+#else | ||
#include <GL/gl.h> | ||
+#endif | ||
|
||
#include <gdk/gdkgldefs.h> | ||
#include <gdk/gdkglquery.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- gdk/gdkglquery.c.orig 2009-08-24 14:43:25.000000000 +0400 | ||
+++ gdk/gdkglquery.c 2009-08-24 14:44:18.000000000 +0400 | ||
@@ -27,7 +27,11 @@ | ||
#include <windows.h> | ||
#endif | ||
|
||
+#ifdef GDK_WINDOWING_QUARTZ | ||
+#include <OpenGL/gl.h> | ||
+#else | ||
#include <GL/gl.h> | ||
+#endif | ||
|
||
/* | ||
* This code is based on glutExtensionSupported(). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- gdk/gdkglshapes.c.orig 2009-08-24 14:43:49.000000000 +0400 | ||
+++ gdk/gdkglshapes.c 2009-08-24 14:46:28.000000000 +0400 | ||
@@ -28,8 +28,13 @@ | ||
#include <windows.h> | ||
#endif | ||
|
||
+#ifdef GDK_WINDOWING_QUARTZ | ||
+#include <OpenGL/gl.h> | ||
+#include <OpenGL/glu.h> | ||
+#else | ||
#include <GL/gl.h> | ||
#include <GL/glu.h> | ||
+#endif | ||
|
||
/* | ||
* The following code is imported from GLUT. |
Oops, something went wrong.