gl -> opengl
This commit is contained in:
parent
ab9dba7f74
commit
9dfcb45c0c
5 changed files with 6 additions and 11 deletions
|
|
@ -17,8 +17,7 @@ when defined(windows):
|
||||||
{.push, callconv: stdcall.}
|
{.push, callconv: stdcall.}
|
||||||
else:
|
else:
|
||||||
{.push, callconv: cdecl.}
|
{.push, callconv: cdecl.}
|
||||||
import
|
import opengl
|
||||||
gl
|
|
||||||
|
|
||||||
type
|
type
|
||||||
GLcharARB* = Char
|
GLcharARB* = Char
|
||||||
|
|
@ -4670,4 +4669,4 @@ const
|
||||||
GL_STENCIL_BACK_VALUE_MASK* = 0x00008CA4
|
GL_STENCIL_BACK_VALUE_MASK* = 0x00008CA4
|
||||||
GL_STENCIL_BACK_WRITEMASK* = 0x00008CA5
|
GL_STENCIL_BACK_WRITEMASK* = 0x00008CA5
|
||||||
|
|
||||||
{.pop.}
|
{.pop.}
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,7 @@
|
||||||
# For the latest updates, visit Delphi3D: http://www.delphi3d.net
|
# For the latest updates, visit Delphi3D: http://www.delphi3d.net
|
||||||
#******************************************************************************
|
#******************************************************************************
|
||||||
|
|
||||||
import
|
import opengl
|
||||||
GL
|
|
||||||
|
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
{.push, callconv: stdcall.}
|
{.push, callconv: stdcall.}
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,7 @@
|
||||||
# For the latest updates, visit Delphi3D: http://www.delphi3d.net
|
# For the latest updates, visit Delphi3D: http://www.delphi3d.net
|
||||||
#******************************************************************************
|
#******************************************************************************
|
||||||
|
|
||||||
import
|
import opengl
|
||||||
GL
|
|
||||||
|
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
const
|
const
|
||||||
|
|
|
||||||
|
|
@ -23,8 +23,7 @@
|
||||||
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
#
|
#
|
||||||
|
|
||||||
import
|
import X, XLib, XUtil, opengl
|
||||||
X, XLib, XUtil, gl
|
|
||||||
|
|
||||||
when defined(windows):
|
when defined(windows):
|
||||||
const
|
const
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
import
|
import opengl, windows
|
||||||
gl, windows
|
|
||||||
|
|
||||||
proc wglGetExtensionsStringARB*(hdc: HDC): cstring{.dynlib: dllname,
|
proc wglGetExtensionsStringARB*(hdc: HDC): cstring{.dynlib: dllname,
|
||||||
importc: "wglGetExtensionsStringARB".}
|
importc: "wglGetExtensionsStringARB".}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue