aboutsummaryrefslogtreecommitdiff
path: root/generic/Types.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/Types.h')
-rw-r--r--generic/Types.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/generic/Types.h b/generic/Types.h
index 68efcd9..b0784ea 100644
--- a/generic/Types.h
+++ b/generic/Types.h
@@ -174,17 +174,6 @@ EXTERN TkRegion ZnPolygonRegion(XPoint *points, int n,
int fill_rule);
# ifdef GL
# define ZnGLContext HGLRC
-# define ZnGLMakeCurrent(wi) \
-{ \
- wi->hdc = GetDC(wi->hwnd); \
- wglMakeCurrent(wi->hdc, wi->gl_context); \
-}
-# define ZnGLRelease(wi) \
- ReleaseDC(wi->hwnd, wi->hdc);
-# define ZnGLDestroyContext(wi) \
- wglDeleteContext(wi->gl_context)
-# define ZnGLSwapBuffers(wi) \
- SwapBuffers(wi->hdc)
# define ZnGLWaitGL()
# define ZN_GL_LINE_WIDTH_RANGE GL_LINE_WIDTH_RANGE
# define ZN_GL_POINT_SIZE_RANGE GL_POINT_SIZE_RANGE
@@ -200,15 +189,6 @@ EXTERN TkRegion ZnPolygonRegion(XPoint *points, int n,
XOffsetRegion((Region) reg, dx, dy)
# ifdef GL
# define ZnGLContext GLXContext
-# define ZnGLMakeCurrent(wi) \
- glXMakeCurrent(wi->dpy, \
- wi->win ? Tk_WindowId(wi->win) : RootWindowOfScreen(wi->screen), \
- wi->gl_context)
-# define ZnGLRelease(wi)
-# define ZnGLDestroyContext(wi) \
- glXDestroyContext(wi->dpy, wi->gl_context);
-# define ZnGLSwapBuffers(wi) \
- glXSwapBuffers(wi->dpy, Tk_WindowId(wi->win))
# define ZnGLWaitGL() \
glXWaitGL()
# define ZN_GL_LINE_WIDTH_RANGE GL_SMOOTH_LINE_WIDTH_RANGE