RE: [AD] standing Windows issues |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> -----Original Message-----
> From: alleg-developers-admin@xxxxxxxxxx [mailto:alleg-
> developers-admin@xxxxxxxxxx] On Behalf Of Ryan Norton
> Sent: Monday, September 06, 2004 6:01 PM
> To: alleg-developers@xxxxxxxxxx
> Subject: RE: [AD] standing Windows issues
>
> > and it returned DSERR_BUFFERLOST.
>
> And the solution to this is to lock a buffer in a loop,
> Like
> while ([buffer]->Restore() == DSERR_BUFFERLOST);
> then perform the lock command.
>
And that leads to a DSERR_PRIOLEVELNEEDED from the lock call.
Eh.
Ryan