From 7c13c57c57bffe5fae39843f65dfbcfc7ad446bd Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Fri, 27 Nov 2020 19:45:59 -0500 Subject: [PATCH] move gl 4.5 function out for now at least --- simpledisplay.d | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/simpledisplay.d b/simpledisplay.d index aa3d31d..a29bf40 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -15214,10 +15214,6 @@ extern(System) nothrow @nogc { void glTexSubImage2D(uint/*GLenum*/ target, int level, int xoffset, int yoffset, /*GLsizei*/int width, /*GLsizei*/int height, uint/*GLenum*/ format, uint/*GLenum*/ type, in void* pixels); - version(linux) - void glTextureSubImage2D(uint texture, int level, int xoffset, int yoffset, - /*GLsizei*/int width, /*GLsizei*/int height, - uint/*GLenum*/ format, uint/*GLenum*/ type, in void* pixels); void glTexEnvf(uint/*GLenum*/ target, uint/*GLenum*/ pname, float param); void glLineWidth(int); @@ -15312,6 +15308,14 @@ extern(System) nothrow @nogc { void glBindFramebuffer (GLenum target, GLuint framebuffer); } + interface GL4 { + extern(System) @nogc nothrow: + + void glTextureSubImage2D(uint texture, int level, int xoffset, int yoffset, + /*GLsizei*/int width, /*GLsizei*/int height, + uint/*GLenum*/ format, uint/*GLenum*/ type, in void* pixels); + } + interface GLU { extern(System) @nogc nothrow: