From 714774cb93ea093d979ccb933e3e8de46804f15d Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Mon, 28 Apr 2014 11:35:31 -0400 Subject: [PATCH] gl prototypes --- simpledisplay.d | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/simpledisplay.d b/simpledisplay.d index dbe7f2d..1fda777 100644 --- a/simpledisplay.d +++ b/simpledisplay.d @@ -5775,8 +5775,11 @@ extern(System){ void glTexCoord2f(float, float); void glVertex2i(int, int); void glBlendFunc (int, int); + void glDepthFunc (int); void glViewport(int, int, int, int); + void glClearDepth(double); + void glReadBuffer(uint); void glReadPixels(int, int, int, int, int, int, void*); @@ -5786,6 +5789,7 @@ extern(System){ enum uint GL_BLEND = 0x0be2; enum uint GL_SRC_ALPHA = 0x0302; enum uint GL_ONE_MINUS_SRC_ALPHA = 0x0303; + enum uint GL_LEQUAL = 0x0203; enum uint GL_UNSIGNED_BYTE = 0x1401;