This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Surfaces not loading when using vector?


Postby Johan » Mar 6, 2004 @ 12:23pm

It's in GapiDraw.h. GDERR_INCOMPATIBLEPRIMARY means that you have not yet opened the display, which is crucial since displays use lots of pixel formats such as 444 (common on symbian), 555 (win95), and 565 (pocket pcs).. First call CGapiDisplay::OpenDisplay and then create your surfaces.
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby ppcStudios » Mar 6, 2004 @ 1:49pm

Aha! So, checking your return codes would have saved you alot of time. :wink:
G.R. Moore
President/CEO
Pocket PC Studios
www.ppcstudios.com

Image
User avatar
ppcStudios
pm Insider
 
Posts: 744
Joined: Aug 23, 2002 @ 3:53pm
Location: Canfield, Ohio


Postby fzammetti » Mar 6, 2004 @ 3:00pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Volte6 » Mar 7, 2004 @ 7:04am

Image
User avatar
Volte6
pm Member
 
Posts: 77
Joined: Feb 16, 2004 @ 8:14pm


Previous

Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron