Changeset 13 for trunk/Platform/Base
- Timestamp:
- Sep 25, 2017, 2:48:08 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Platform/Base/UPlatformBase.pas
r9 r13 7 7 uses 8 8 Classes, SysUtils, UFileSystem, UKernel, syncobjs, UThreadEx, UMemory, 9 DateUtils, UDevice, Contnrs, Graphics, Forms, UScreen, UScheduler ;9 DateUtils, UDevice, Contnrs, Graphics, Forms, UScreen, UScheduler, UGraphics; 10 10 11 11 type … … 107 107 Modes.Clear; 108 108 NewMode := TVideoMode.Create; 109 NewMode.Size := Point(320, 240);110 NewMode.ColorFormat := cfRGBA8; 111 Modes.Add(NewMode); 112 NewMode := TVideoMode.Create; 113 NewMode.Size := Point(640, 480);109 NewMode.Size := TPoint.Create(320, 240); 110 NewMode.ColorFormat := cfRGBA8; 111 Modes.Add(NewMode); 112 NewMode := TVideoMode.Create; 113 NewMode.Size := TPoint.Create(640, 480); 114 114 NewMode.ColorFormat := cfRGBA8; 115 115 Modes.Add(NewMode); … … 235 235 Task := TBaseTask(inherited AddTask(Name, EntryPoint)); 236 236 if Running then Task.Thread.Start; 237 Result := Task; 237 238 end; 238 239
Note:
See TracChangeset
for help on using the changeset viewer.