summaryrefslogtreecommitdiff
path: root/glx/glxdrawable.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2009-04-07 13:58:53 -0400
committerKristian Høgsberg <krh@redhat.com>2009-04-07 16:28:26 -0400
commit92562747a0fdbef1dbedf734cb55dd6a9e1d2994 (patch)
tree8530108106fb5f1731ec6a2a3d6b4354926dc3dc /glx/glxdrawable.h
parentf70cfc8f90091ef0f5ed0a5b2e023e7fd6369b36 (diff)
Add validGlxDrawable() and use dixLookupResourceByType().
Fixes deprecation warnings, and fixes a couple of GLX error codes for failing drawable lookups.
Diffstat (limited to 'glx/glxdrawable.h')
-rw-r--r--glx/glxdrawable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/glx/glxdrawable.h b/glx/glxdrawable.h
index 2d787ae78..b64ff35c9 100644
--- a/glx/glxdrawable.h
+++ b/glx/glxdrawable.h
@@ -41,7 +41,8 @@
enum {
GLX_DRAWABLE_WINDOW,
GLX_DRAWABLE_PIXMAP,
- GLX_DRAWABLE_PBUFFER
+ GLX_DRAWABLE_PBUFFER,
+ GLX_DRAWABLE_ANY
};
struct __GLXdrawable {