diff options
author | Chia-I Wu <olv@lunarg.com> | 2010-02-07 20:17:48 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2010-03-12 09:57:07 +0800 |
commit | 3a3a31bf88c42890fbc2e4211981f97bd43dff4a (patch) | |
tree | 5e566d05f3b26ac4939b9aa28b3863c698d6c231 /src/gallium/targets | |
parent | de8a879f5c77dbf5c31251e07b2f1b8d2635716c (diff) | |
download | external_mesa3d-3a3a31bf88c42890fbc2e4211981f97bd43dff4a.zip external_mesa3d-3a3a31bf88c42890fbc2e4211981f97bd43dff4a.tar.gz external_mesa3d-3a3a31bf88c42890fbc2e4211981f97bd43dff4a.tar.bz2 |
winsys/xlib, st/es: Advertise st_api.h support.
This is done by defining one of st_module_OpenGL_ES1,
st_module_OpenGL_ES2, and st_module_OpenGL.
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/libgl-xlib/xlib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/targets/libgl-xlib/xlib.c b/src/gallium/targets/libgl-xlib/xlib.c index 05dc8db..50dd99f 100644 --- a/src/gallium/targets/libgl-xlib/xlib.c +++ b/src/gallium/targets/libgl-xlib/xlib.c @@ -39,9 +39,15 @@ #include "target-helpers/wrap_screen.h" #include "xm_public.h" +#include "state_tracker/st_manager.h" + /* advertise OpenGL support */ PUBLIC const int st_api_OpenGL = 1; +PUBLIC const struct st_module st_module_OpenGL = { + .api = ST_API_OPENGL, + .create_api = st_manager_create_api +}; /* Helper function to build a subset of a driver stack consisting of * one of the software rasterizers (cell, llvmpipe, softpipe) and the |