View | Details | Raw Unified | Return to bug 247476
Collapse All | Expand All

(-)compiz/files/compiz-manager.in (-1 / +1 lines)
Lines 235-241 Link Here
235
# Check if the max texture size is large enough compared to the resolution
235
# Check if the max texture size is large enough compared to the resolution
236
check_texture_size()
236
check_texture_size()
237
{
237
{
238
	TEXTURE_LIMIT=$(glxinfo -l | grep GL_MAX_TEXTURE_SIZE | sed 's/.*=[^0-9]//g')
238
	TEXTURE_LIMIT=$(glxinfo -l | grep GL_MAX_TEXTURE_SIZE | head -n 1 | sed 's/.*=[^0-9]//g')
239
	RESOLUTION=$(xdpyinfo  | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//')
239
	RESOLUTION=$(xdpyinfo  | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//')
240
	VRES=$(echo $RESOLUTION | sed 's/.*x//')
240
	VRES=$(echo $RESOLUTION | sed 's/.*x//')
241
	HRES=$(echo $RESOLUTION | sed 's/x.*//')
241
	HRES=$(echo $RESOLUTION | sed 's/x.*//')

Return to bug 247476