From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <41CDCAE8.9000607@mail.ru> Date: Sat, 25 Dec 2004 22:17:44 +0200 From: "Yuri N. Glibovetz" User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.6) Gecko/20040310 X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: community@altlinux.ru Subject: Re: [COMM] SDL, TuxRacer, =?KOI8-R?Q?=CD=C1=CC=C5=CE=D8=CB=CF=C5?= =?KOI8-R?Q?_=CF=CB=CE=CF?= References: <9933613500.20041225230821@nm.ru> In-Reply-To: <9933613500.20041225230821@nm.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Dec 2004 20:18:00 -0000 Archived-At: List-Archive: List-Post: Myagkov O. Anton пишет: > Всемы добрый :) > Во всех программах, использующих SDL, изображение размером 640на480 > всегда в центре, хотя разрешение стоит 1280на1024. Как увелить в SDL > или уменьшить на время запуска программы до 640x480 Добавьте требуемое разрешение в секцию Screen конфигурации иксов. У меня: Section "Screen" Identifier "screen1" Device "NVIDIA GeForce4 (generic)" Monitor "monitor1" DefaultColorDepth 24 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x400" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 32 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection