summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-02 21:32:33 +0800
committerChia-I Wu <[email protected]>2010-01-12 10:55:35 +0800
commit2d44b6f8848ee2c43a92c5a00ec9981b82319ed8 (patch)
treeaef567708724af54a2d07a5e51ec06144f58d2fb /src/gallium
parentea014ed461b5cc87df5f5565bcb792888e408b5b (diff)
st/mesa: Remove st_api.c.
st_api.c is supposed to define st_api_OpenGL to advertise OpenGL support. However, the linker discards the symbol because it has no user. It is better to leave this to other state trackers that link to libmesagallium.a. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/xlib/xlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/xlib/xlib.c b/src/gallium/winsys/xlib/xlib.c
index 6dbe05f193e..13117712c23 100644
--- a/src/gallium/winsys/xlib/xlib.c
+++ b/src/gallium/winsys/xlib/xlib.c
@@ -47,6 +47,8 @@ enum mode {
MODE_SOFTPIPE
};
+/* advertise OpenGL support */
+PUBLIC const int st_api_OpenGL = 1;
static enum mode get_mode()
{