From 9dfcb45c0c39573c2ff5b0c69aa8e87d31c0e8ad Mon Sep 17 00:00:00 2001 From: EXetoC Date: Tue, 3 Jun 2014 12:48:23 +0200 Subject: [PATCH] gl -> opengl --- src/glext.nim | 5 ++--- src/glu.nim | 3 +-- src/glut.nim | 3 +-- src/glx.nim | 3 +-- src/wingl.nim | 3 +-- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/glext.nim b/src/glext.nim index 32871df..7df4c52 100644 --- a/src/glext.nim +++ b/src/glext.nim @@ -17,8 +17,7 @@ when defined(windows): {.push, callconv: stdcall.} else: {.push, callconv: cdecl.} -import - gl +import opengl type GLcharARB* = Char @@ -4670,4 +4669,4 @@ const GL_STENCIL_BACK_VALUE_MASK* = 0x00008CA4 GL_STENCIL_BACK_WRITEMASK* = 0x00008CA5 -{.pop.} \ No newline at end of file +{.pop.} diff --git a/src/glu.nim b/src/glu.nim index e00120d..98d69cd 100644 --- a/src/glu.nim +++ b/src/glu.nim @@ -8,8 +8,7 @@ # For the latest updates, visit Delphi3D: http://www.delphi3d.net #****************************************************************************** -import - GL +import opengl when defined(windows): {.push, callconv: stdcall.} diff --git a/src/glut.nim b/src/glut.nim index ff157c3..4bcf64d 100644 --- a/src/glut.nim +++ b/src/glut.nim @@ -15,8 +15,7 @@ # For the latest updates, visit Delphi3D: http://www.delphi3d.net #****************************************************************************** -import - GL +import opengl when defined(windows): const diff --git a/src/glx.nim b/src/glx.nim index ae5ca75..d743f7c 100644 --- a/src/glx.nim +++ b/src/glx.nim @@ -23,8 +23,7 @@ # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # -import - X, XLib, XUtil, gl +import X, XLib, XUtil, opengl when defined(windows): const diff --git a/src/wingl.nim b/src/wingl.nim index 7ed78f9..f28013c 100644 --- a/src/wingl.nim +++ b/src/wingl.nim @@ -1,5 +1,4 @@ -import - gl, windows +import opengl, windows proc wglGetExtensionsStringARB*(hdc: HDC): cstring{.dynlib: dllname, importc: "wglGetExtensionsStringARB".}