BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Refreshing OpenGL graphics??

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Anders
Guest





PostPosted: Wed Oct 27, 2004 7:54 am    Post subject: Refreshing OpenGL graphics?? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.