From: Steinar H. Gunderson Date: Mon, 21 Feb 2005 17:49:48 +0000 (+0000) Subject: Compile TinyPTC with Xshm. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=98c75538a60914997d5815f0483ddf7284d285f6;hp=b2230c3bda253bf91d775447a2d1bd3d51e25d79 Compile TinyPTC with Xshm. --- diff --git a/bigscreen/Makefile b/bigscreen/Makefile index 07177b6..ddb0f55 100644 --- a/bigscreen/Makefile +++ b/bigscreen/Makefile @@ -3,7 +3,7 @@ CXX=g++ CPPFLAGS=-I/usr/include/postgresql $(shell freetype-config --cflags) -Itinyptc/ CXXFLAGS=-g -Wall LDFLAGS=-L/usr/X11R6/lib -LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 +LIBS=$(shell freetype-config --libs) $(shell libpq3-config) -lpqxx tinyptc/libtinyptc.a -lX11 -lXext CCBS_BIGSCREEN_OBJS=ccbs_bigscreen.o flagtrigger.o widestring.o fetch_current_tournament.o fetch_list_of_active_groups.o fetch_max_score_for_songs.o fetch_max_score_for_players.o fetch_group.o fetch_needs_update.o fetch_highscore.o fonts.o groupscreen.o splitscreen.o rotatescreen.o screen.o all: ccbs-bigscreen diff --git a/bigscreen/tinyptc/tinyptc.h b/bigscreen/tinyptc/tinyptc.h index 5fee0de..a6cf0aa 100644 --- a/bigscreen/tinyptc/tinyptc.h +++ b/bigscreen/tinyptc/tinyptc.h @@ -62,12 +62,12 @@ typedef unsigned char char8; /* If you uncomment this directive, you'll choose raw xlib video rendering */ -#define __PTC_XLIB__ +/* #define __PTC_XLIB__ */ /* If you uncomment this directive, you'll choose X Shared memory extension * video rendering */ -/* #define __PTC_XSHM__ */ +#define __PTC_XSHM__ /* If you uncomment this directive, you'll choose X Double buffer extension * video rendering */