targets/pipe-loader: drop driver_descriptor symbol from swrast
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Apr 2014 14:45:08 +0000 (15:45 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 2 May 2014 20:48:25 +0000 (21:48 +0100)
The symbol is used for hardware only drivers. For swrast the
loader uses swrast_create_screen. Add VISIBILITY_CFLAGS while
we're here.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/targets/pipe-loader/Makefile.am
src/gallium/targets/pipe-loader/pipe_swrast.c

index 76271a15fed3f610d0f50f037df70519261dbef6..6a5b38066cb77cec9249a28497ec80782ba97e31 100644 (file)
@@ -27,7 +27,8 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/gallium/drivers \
        -I$(top_srcdir)/src/gallium/winsys \
-        $(LIBDRM_CFLAGS) \
+       $(LIBDRM_CFLAGS) \
+       $(VISIBILITY_CFLAGS) \
        -DGALLIUM_RBUG \
        -DGALLIUM_TRACE \
        -DGALLIUM_GALAHAD
index 092abf07a522a89647badc3955b0b7d796ea392d..f7f354acf3fe7dc36e755d96c08c85b4aca3c1c8 100644 (file)
@@ -6,9 +6,6 @@
 PUBLIC struct pipe_screen *
 swrast_create_screen(struct sw_winsys *ws);
 
-PUBLIC
-DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL, NULL)
-
 struct pipe_screen *
 swrast_create_screen(struct sw_winsys *ws)
 {