Skip to content

Commit a27d1f1

Browse files
committed
Updated OpenGL registry to r32258. Bumped version to 2.6.1.0.
1 parent 6a9a50d commit a27d1f1

File tree

6 files changed

+25
-8
lines changed

6 files changed

+25
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
2.6.1.0
2+
-------
3+
* Updated OpenGL registry to r32258. Note that the major version was
4+
intentionally not bumped, because the signature change of
5+
`glClearNamedFramebufferfi` was a bug fix, see the corresponding
6+
[issue](https://www.khronos.org/bugzilla/show_bug.cgi?id=1394) on Khronos.
7+
18
2.6.0.0
29
-------
310
* Use the `Half` type from the `half` package.

OpenGLRaw.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: OpenGLRaw
2-
version: 2.6.0.0
2+
version: 2.6.1.0
33
synopsis: A raw binding for the OpenGL graphics system
44
description:
55
OpenGLRaw is a raw Haskell binding for the OpenGL 4.5 graphics system and

src/Graphics/Rendering/OpenGL/Raw/Foreign.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,10 +2037,6 @@ foreign import CALLCONV "dynamic" dyn364
20372037
:: FunPtr (GLuint -> GLenum -> GLenum -> Ptr a -> IO ())
20382038
-> GLuint -> GLenum -> GLenum -> Ptr a -> IO ()
20392039

2040-
foreign import CALLCONV "dynamic" dyn85
2041-
:: FunPtr (GLuint -> GLenum -> GLfloat -> GLint -> IO ())
2042-
-> GLuint -> GLenum -> GLfloat -> GLint -> IO ()
2043-
20442040
foreign import CALLCONV "dynamic" dyn483
20452041
:: FunPtr (GLuint -> GLenum -> GLfloat -> IO ())
20462042
-> GLuint -> GLenum -> GLfloat -> IO ()
@@ -2077,6 +2073,10 @@ foreign import CALLCONV "dynamic" dyn270
20772073
:: FunPtr (GLuint -> GLenum -> GLint -> GLenum -> Ptr GLint -> IO ())
20782074
-> GLuint -> GLenum -> GLint -> GLenum -> Ptr GLint -> IO ()
20792075

2076+
foreign import CALLCONV "dynamic" dyn85
2077+
:: FunPtr (GLuint -> GLenum -> GLint -> GLfloat -> GLint -> IO ())
2078+
-> GLuint -> GLenum -> GLint -> GLfloat -> GLint -> IO ()
2079+
20802080
foreign import CALLCONV "dynamic" dyn188
20812081
:: FunPtr (GLuint -> GLenum -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> IO ())
20822082
-> GLuint -> GLenum -> GLint -> GLint -> GLint -> GLint -> GLint -> GLint -> GLsizei -> GLsizei -> IO ()

src/Graphics/Rendering/OpenGL/Raw/Functions.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6051,13 +6051,14 @@ glClearNamedFramebufferfi
60516051
:: MonadIO m
60526052
=> GLuint -- ^ @framebuffer@.
60536053
-> GLenum -- ^ @buffer@.
6054+
-> GLint -- ^ @drawbuffer@.
60546055
-> GLfloat -- ^ @depth@.
60556056
-> GLint -- ^ @stencil@.
60566057
-> m ()
6057-
glClearNamedFramebufferfi v1 v2 v3 v4 = liftIO $ dyn85 ptr_glClearNamedFramebufferfi v1 v2 v3 v4
6058+
glClearNamedFramebufferfi v1 v2 v3 v4 v5 = liftIO $ dyn85 ptr_glClearNamedFramebufferfi v1 v2 v3 v4 v5
60586059

60596060
{-# NOINLINE ptr_glClearNamedFramebufferfi #-}
6060-
ptr_glClearNamedFramebufferfi :: FunPtr (GLuint -> GLenum -> GLfloat -> GLint -> IO ())
6061+
ptr_glClearNamedFramebufferfi :: FunPtr (GLuint -> GLenum -> GLint -> GLfloat -> GLint -> IO ())
60616062
ptr_glClearNamedFramebufferfi = unsafePerformIO $ getCommand "glClearNamedFramebufferfi"
60626063

60636064
-- glClearNamedFramebufferfv ---------------------------------------------------

src/Graphics/Rendering/OpenGL/Raw/Tokens.hs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,6 +2720,15 @@ gl_CUBIC_EXT = 0x8334
27202720
gl_CUBIC_HP :: GLenum
27212721
gl_CUBIC_HP = 0x815F
27222722

2723+
gl_CUBIC_IMG :: GLenum
2724+
gl_CUBIC_IMG = 0x9139
2725+
2726+
gl_CUBIC_MIPMAP_LINEAR_IMG :: GLenum
2727+
gl_CUBIC_MIPMAP_LINEAR_IMG = 0x913B
2728+
2729+
gl_CUBIC_MIPMAP_NEAREST_IMG :: GLenum
2730+
gl_CUBIC_MIPMAP_NEAREST_IMG = 0x913A
2731+
27232732
gl_CULL_FACE :: GLenum
27242733
gl_CULL_FACE = 0x0B44
27252734

0 commit comments

Comments
 (0)