# Copyright (C) 2007  Peter De Wachter <pdewacht@gmail.com>
# Copyright (C) 2007  Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

Index: tatan-1.0/import/opengl.d
===================================================================
--- tatan-1.0.orig/import/opengl.d	2007-09-05 12:29:34.000000000 +0000
+++ tatan-1.0/import/opengl.d	2007-09-05 12:25:32.000000000 +0000
@@ -1,10 +1,4 @@
-version (Win32) {
-	private import std.c.windows.windows;
-	extern(Windows):
-}
-version (linux) {
-	extern(C):
-}
+extern(C):
 
 alias uint GLenum;
 alias ubyte GLboolean;
@@ -1116,7 +1110,7 @@
 /*************************************************************/
 
 void /*APIENTRY*/glAccum (GLenum op, GLfloat value);
-//void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref);
+void /*APIENTRY*/glAlphaFunc (GLenum func, GLclampf ref_);
 GLboolean /*APIENTRY*/glAreTexturesResident (GLsizei n, GLuint *textures, GLboolean *residences);
 void /*APIENTRY*/glArrayElement (GLint i);
 void /*APIENTRY*/glBegin (GLenum mode);
@@ -1369,7 +1363,7 @@
 void /*APIENTRY*/glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
 void /*APIENTRY*/glSelectBuffer (GLsizei size, GLuint *buffer);
 void /*APIENTRY*/glShadeModel (GLenum mode);
-//void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref, GLuint mask);
+void /*APIENTRY*/glStencilFunc (GLenum func, GLint ref_, GLuint mask);
 void /*APIENTRY*/glStencilMask (GLuint mask);
 void /*APIENTRY*/glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
 void /*APIENTRY*/glTexCoord1d (GLdouble s);
Index: tatan-1.0/import/openglu.d
===================================================================
--- tatan-1.0.orig/import/openglu.d	2007-09-05 12:29:36.000000000 +0000
+++ tatan-1.0/import/openglu.d	2007-09-05 12:25:32.000000000 +0000
@@ -1,11 +1,6 @@
 import opengl;
 
-version (Win32) {
-	extern(Windows):
-}
-version (linux) {
-	extern(C):
-}
+extern(C):
 
 GLubyte* gluErrorString (
     GLenum   errCode);
@@ -89,7 +84,7 @@
     GLenum      type, 
     void  *data);
 
-public int gluBuild2DMipmaps (
+int gluBuild2DMipmaps (
     GLenum      target, 
     GLint       components, 
     GLint       width, 
