File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,14 @@ module Graphics.GL.Types (
56
56
GLclampx ,
57
57
GLhandleARB ,
58
58
GLvdpauSurfaceNV ,
59
- GLeglImageOES
59
+ GLeglImageOES ,
60
+
61
+ -- * Deprecated functions for @gl@ compatibility.
62
+ mkGLDEBUGPROC ,
63
+ mkGLDEBUGPROCAMD ,
64
+ mkGLDEBUGPROCARB ,
65
+ mkGLDEBUGPROCKHR
66
+
60
67
) where
61
68
62
69
import Data.Int
@@ -214,3 +221,19 @@ type GLhandleARB = Word32
214
221
type GLvdpauSurfaceNV = GLintptr
215
222
216
223
type GLeglImageOES = Ptr ()
224
+
225
+ {-# DEPRECATED mkGLDEBUGPROC "Use 'makeGLDEBUGPROC' instead." #-}
226
+ mkGLDEBUGPROC :: GLDEBUGPROCFunc -> IO (FunPtr GLDEBUGPROCFunc )
227
+ mkGLDEBUGPROC = makeGLDEBUGPROC
228
+
229
+ {-# DEPRECATED mkGLDEBUGPROCAMD "Use 'makeGLDEBUGPROCAMD' instead." #-}
230
+ mkGLDEBUGPROCAMD :: GLDEBUGPROCAMDFunc -> IO (FunPtr GLDEBUGPROCAMDFunc )
231
+ mkGLDEBUGPROCAMD = makeGLDEBUGPROCAMD
232
+
233
+ {-# DEPRECATED mkGLDEBUGPROCARB "Use 'makekGLDEBUGPROCARB' instead." #-}
234
+ mkGLDEBUGPROCARB :: GLDEBUGPROCARBFunc -> IO (FunPtr GLDEBUGPROCARBFunc )
235
+ mkGLDEBUGPROCARB = makeGLDEBUGPROCARB
236
+
237
+ {-# DEPRECATED mkGLDEBUGPROCKHR "Use 'makeGLDEBUGPROCKHR' instead." #-}
238
+ mkGLDEBUGPROCKHR :: GLDEBUGPROCKHRFunc -> IO (FunPtr GLDEBUGPROCKHRFunc )
239
+ mkGLDEBUGPROCKHR = makeGLDEBUGPROCKHR
You can’t perform that action at this time.
0 commit comments