File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
src/Graphics/Rendering/OpenGL/GL Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1+ 3.0.0.1
2+ -------
3+ * Relaxed upper version bound for ` OpenGLRaw ` .
4+
153.0.0.0
26-------
37* Depend on new ` OpenGLRaw ` and ` GLURaw ` packages.
Original file line number Diff line number Diff line change 11name : OpenGL
2- version : 3.0.0.0
2+ version : 3.0.0.1
33synopsis : A binding for the OpenGL graphics system
44description :
55 A Haskell binding for the OpenGL graphics system (GL, version 4.5) and its
@@ -155,7 +155,7 @@ library
155155 transformers >= 0.2 && < 0.6 ,
156156 ObjectName >= 1.1 && < 1.2 ,
157157 StateVar >= 1.1 && < 1.2 ,
158- OpenGLRaw >= 3.0 && < 3.1 ,
158+ OpenGLRaw >= 3.0 && < 3.2 ,
159159 GLURaw >= 2.0 && < 2.1
160160 default-language : Haskell2010
161161 other-extensions :
Original file line number Diff line number Diff line change @@ -491,15 +491,15 @@ data ClampMode =
491491
492492marshalClampMode :: ClampMode -> GLenum
493493marshalClampMode x = case x of
494- ClampOn -> GL_TRUE
494+ ClampOn -> fromIntegral GL_TRUE
495495 FixedOnly -> GL_FIXED_ONLY
496- ClampOff -> GL_FALSE
496+ ClampOff -> fromIntegral GL_FALSE
497497
498498unmarshalClampMode :: GLenum -> ClampMode
499499unmarshalClampMode x
500- | x == GL_TRUE = ClampOn
500+ | x == fromIntegral GL_TRUE = ClampOn
501501 | x == GL_FIXED_ONLY = FixedOnly
502- | x == GL_FALSE = ClampOff
502+ | x == fromIntegral GL_FALSE = ClampOff
503503 | otherwise = error $ " unmarshalClampMode: unknown enum value " ++ show x
504504
505505--------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments