winsys/xlib, st/es: Advertise st_api.h support.
[mesa.git] / src / gallium / targets / libgl-xlib / xlib.c
index 05dc8db57d97969969801516912f11711d6eeaa0..50dd99ffce12b49c7aa97e4ec07b562e608fdec9 100644 (file)
 #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