 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Anders Guest
|
Posted: Wed Oct 27, 2004 7:54 am Post subject: Refreshing OpenGL graphics?? |
|
|
I am drawing OpenGL graphics on a Borland Panel.
When I have drawn my graph everything looks fine but I donīt manage to
refresh the graphics (after I for instance have covered it with another
window). The OnPaint-event is triggered but I donīt know what to write in
the corresponding function to redraw the front buffer. I have tried a lot
without success (swapbuffers is the best so far but it draws the back buffer
on the screen, I want to redraw the front buffer).
Every example I have seen draws the graphics in the OnPaint-method, this
would solve the problem but is not very convenient for me because of the
processing needed to draw the graphics.
Help!
/Anders
|
|
| Back to top |
|
 |
|
|
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 vote in polls in this forum
|
|