Ticket #38294: iglx.patch
File iglx.patch, 1.1 KB (added by zpeeters@…, 11 years ago) |
---|
-
(a) a/configs/darwin.orig vs. (b) b/configs/darwin
a b 13 13 CXX = $(shell xcrun -find c++) 14 14 PIC_FLAGS = -fPIC 15 15 DEFINES = -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE \ 16 -DGLX_ALIAS_UNSUPPORTED \ 17 -DGLX_DIRECT_RENDERING -DGLX_USE_APPLEGL 16 -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING 18 17 19 18 # -DGLX_INDIRECT_RENDERING \ 20 19 … … 47 46 OSMESA_LIB_GLOB = lib$(OSMESA_LIB).*dylib 48 47 VG_LIB_GLOB = lib$(VG_LIB).*dylib 49 48 50 GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11-xcb -lxcb -l X11 -lXext $(EXTRA_LDFLAGS)49 GL_LIB_DEPS = -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11-xcb -lxcb -lxcb-glx -lX11 -lXext $(EXTRA_LDFLAGS) 51 50 OSMESA_LIB_DEPS = $(EXTRA_LDFLAGS) 52 51 GLU_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) $(EXTRA_LDFLAGS) 53 52 GLW_LIB_DEPS = -L$(TOP)/$(LIB_DIR) -l$(GL_LIB) -L$(INSTALL_DIR)/$(LIB_DIR) -L$(X11_DIR)/$(LIB_DIR) -lX11 -lXt $(EXTRA_LDFLAGS) 54 53 55 SRC_DIRS = glsl mapi/glapi mapi/vgapi glx /applemesa gallium glu54 SRC_DIRS = glsl mapi/glapi mapi/vgapi glx mesa gallium glu 56 55 GLU_DIRS = sgi 57 56 DRIVER_DIRS = osmesa 58 57 #DRIVER_DIRS = dri