summaryrefslogtreecommitdiff
path: root/glx/glxcontext.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-03-18 17:03:09 -0400
committerAdam Jackson <ajax@redhat.com>2011-03-28 12:46:38 -0400
commitc327d07cc68802256c679a65d78f98f17327abda (patch)
tree1160cf1ff8d1cb7291119db54ffb34bbbfc1ec5d /glx/glxcontext.h
parenta48dadc98a28c969741979b70b7a639f24f4cbbd (diff)
glx: Remove ->forceCurrent from the context vtable
All the implementations of makeCurrent and forceCurrent are identical, so just use makeCurrent everywhere. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx/glxcontext.h')
-rw-r--r--glx/glxcontext.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/glx/glxcontext.h b/glx/glxcontext.h
index 79bc083a8..65d51f507 100644
--- a/glx/glxcontext.h
+++ b/glx/glxcontext.h
@@ -53,8 +53,6 @@ struct __GLXcontext {
int (*copy) (__GLXcontext *dst,
__GLXcontext *src,
unsigned long mask);
- int (*forceCurrent) (__GLXcontext *context);
-
Bool (*wait) (__GLXcontext *context,
__GLXclientState *cl,
int *error);