/
stud_22-365
/
GLXEngine
Обзор
Документация
Войти
/
stud_22-365
/
GLXEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
external/SDL/Examples/BasicSDL/BasicSDL_D.dpr
28 строк
863 B
glscene
fixed external
22 янв 2026, 10:40
22 янв 2026, 10:40
9308f18
Код
Авторство
О чём код?
(* Basic demo for using the SDLViewer. The SDL Viewer allows to use SDL for setting up OpenGL, but still render with GLScene. The main differences are that SDL has no design-time preview and for SDL 1.2 you may have standard forms around it, but as soon as the SDL window is closed, the application terminates. The SDL viewer is more suited for games or simple apps that aim for cross-platform support, for SDL is available on multiple platforms. SDL also provides several game-related support APIs for sound, controlers, video etc. (see http://www.libsdl.org). The rendered scene is similar to the one in the materials/cubemap demo. *) program BasicSDL_D; uses Forms, fBasicSDL_D in 'fBasicSDL_D.pas'; {$R *.res} begin Application.Initialize; Application.CreateForm(TDataModule1, DataModule1); Application.Run; end.