* [COMM] SDL, TuxRacer, маленькое окно
@ 2004-12-25 20:08 Myagkov O. Anton
2004-12-25 20:17 ` Yuri N. Glibovetz
0 siblings, 1 reply; 2+ messages in thread
From: Myagkov O. Anton @ 2004-12-25 20:08 UTC (permalink / raw)
To: community
Всемы добрый :)
Во всех программах, использующих SDL, изображение размером 640на480
всегда в центре, хотя разрешение стоит 1280на1024. Как увелить в SDL
или уменьшить на время запуска программы до 640x480
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [COMM] SDL, TuxRacer, маленькое окно
2004-12-25 20:08 [COMM] SDL, TuxRacer, маленькое окно Myagkov O. Anton
@ 2004-12-25 20:17 ` Yuri N. Glibovetz
0 siblings, 0 replies; 2+ messages in thread
From: Yuri N. Glibovetz @ 2004-12-25 20:17 UTC (permalink / raw)
To: community
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-25 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-25 20:08 [COMM] SDL, TuxRacer, маленькое окно Myagkov O. Anton
2004-12-25 20:17 ` Yuri N. Glibovetz
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git