diff options
author | Kristian Høgsberg <krh@redhat.com> | 2006-06-28 17:00:23 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2006-07-06 00:28:53 -0400 |
commit | 7cf3ec7b59223f15314a0629f122ecb796678421 (patch) | |
tree | 7ff91618027625ed203a11c05738cd614a92c327 /GL/glx/glxscreens.h | |
parent | eea8efe4516750b2505b52ebc9f769f5e8a6f94c (diff) |
Move createDrawable from __GLXcontext to __GLXscreen.
Diffstat (limited to 'GL/glx/glxscreens.h')
-rw-r--r-- | GL/glx/glxscreens.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/GL/glx/glxscreens.h b/GL/glx/glxscreens.h index 8a2b2388f..96373dbee 100644 --- a/GL/glx/glxscreens.h +++ b/GL/glx/glxscreens.h @@ -53,11 +53,16 @@ */ typedef struct __GLXscreen __GLXscreen; struct __GLXscreen { - void (*destroy)(__GLXscreen *screen); + void (*destroy) (__GLXscreen *screen); - __GLXcontext *(*createContext)(__GLXscreen *screen, - __GLcontextModes *modes, - __GLXcontext *shareContext); + __GLXcontext *(*createContext) (__GLXscreen *screen, + __GLcontextModes *modes, + __GLXcontext *shareContext); + + __GLXdrawable *(*createDrawable)(__GLXscreen *context, + DrawablePtr pDraw, + XID drawId, + __GLcontextModes *modes); ScreenPtr pScreen; |