GP32 GpBitBlt on gpDraw[2]


mATkEUpON

Certified Guru
Joined
Sep 30, 2003
Messages
276
Can someone confirm me that GpBitBlt function hangs when used on gpDraw[2] or is it just my program ??

Thanks
 
when u initialise an array as array[2], you access the first item with [0] and the second with [1]
 
talking about code that doesnt work, does the ELIPSE drawing functions in the gamepark SDK work? I tried and couldnt get anything to draw, I think i might have even gotten a compiler error I dont remember now.

are there functions in the gamepark sdk graphics library to do the following

1) draw a pixel ?

2) draw a line ?

3) draw a circle (oval)?
 
My mistake, it's actually that I was declaring gpDraw[2] and not gpDraw[3]...

The weird thing is, I could init it without problems, and also use my blitting routines on it, and even dma-copy it !!!!
 
Yes I'm trying... I'm not sure I'm doing it the good way but I'm trying !!

Also, I've got a problem with my sound: at some point it just loops forever... Don't know what's causing it..
 
jlebrech posted on Dec 23 2003 at 09:57 PM said:
when u initialise an array as array[2], you access the first item with [0] and the second with [1]
Hehe...jle knows I've had that problem before (damn BASIC upbringing)

Remember that array[3] is just *(array + sizeof(array_item) * 2) so if there's nothing special after the array you could probably copy it and stuff.

Triple buffering seems a little over-the-top to me...
 
Last edited by a moderator:
Back
Top